Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandr7035 committed Jul 2, 2024
1 parent a136f0a commit 539b4fb
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/ci-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,22 @@ on:
branches:
- develop

env:
PLUGIN_VERSION: 1.23.6
PLUGIN_NAME: detekt-formatting-${{ env.PLUGIN_VERSION }}.jar

jobs:
detekt:
runs-on: ubuntu-latest
steps:
- name: "checkout"
detekt:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: "detekt"

- name: "Download detekt-formatting plugin"
run: |
curl -sSL -o config/detekt/${{ env.PLUGIN_NAME }} https://github.com/detekt/detekt/releases/download/v${{ env.PLUGIN_VERSION }}/${{ env.PLUGIN_NAME }}
- name: "Run detekt"
uses: natiginfo/action-detekt-all@1.23.6
with:
args: --config config/detekt/detekt.yml
args: --config config/detekt/detekt.yml -plugins config/detekt/${{ env.PLUGIN_NAME }}

0 comments on commit 539b4fb

Please sign in to comment.