diff --git a/.github/workflows/ktlint-check.yml b/.github/workflows/ktlint-check.yml deleted file mode 100644 index efc582b..0000000 --- a/.github/workflows/ktlint-check.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: ktlint - -on: [pull_request] - -jobs: - ktlint: - name: Check Code Quality - runs-on: ubuntu-latest - - steps: - - name: Clone repo - uses: actions/checkout@master - with: - fetch-depth: 1 - - name: ktlint - uses: ScaCap/action-ktlint@master - with: - github_token: ${{ secrets.github_token }} - reporter: github-pr-check \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..2cba425 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,18 @@ +name: Lint + +on: [push, pull_request] + +jobs: + ktlint: + runs-on: ubuntu-latest + + steps: + - name: Clone repo + uses: actions/checkout@master + with: + fetch-depth: 1 + - name: ktlint + uses: ScaCap/action-ktlint@master + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-check \ No newline at end of file