Skip to content

Qminder/github-action-ktlint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Action: ktlint with reviewdog

The main difference between this action and other similar ktlint Github Actions is focus on security. The action does not download anything blindly from the Internet. All downloaded files are validated against checksum.

Example

name: reviewdog
on: [pull_request]
jobs:
  ktlint:
    name: Check Code Quality
    runs-on: ubuntu-latest

    steps:
      - name: Clone repo
        uses: actions/checkout@master
      - name: ktlint
        uses: Qminder/github-action-ktlint@a49ec7642814f107db2ed70fd0911fc9af0079f5
        with:
          github_token: ${{ secrets.github_token }}