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 b165af0 commit 6966ade
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
branches:
- develop

env:
PLUGIN_VERSION: 1.23.6
PLUGIN_NAME: detekt-formatting-$PLUGIN_VERSION.jar
PLUGIN_URL: https://github.com/detekt/detekt/releases/download/v$PLUGIN_VERSION/$PLUGIN_NAME

jobs:
detekt:
runs-on: ubuntu-latest
Expand All @@ -21,9 +16,9 @@ jobs:

- name: "Download detekt-formatting plugin"
run: |
curl -sSL -o config/detekt/$PLUGIN_NAME $PLUGIN_URL
curl -sSL -o config/detekt/detekt-formatting-1.23.6.jar https://github.com/detekt/detekt/releases/download/v1.23.6/detekt-formatting-1.23.6.jar
- name: "Run detekt"
uses: natiginfo/action-detekt-all@1.23.6
with:
args: --config config/detekt/detekt.yml -plugins config/detekt/$PLUGIN_NAME
args: --config config/detekt/detekt.yml -plugins config/detekt/detekt-formatting-1.23.6.jar

0 comments on commit 6966ade

Please sign in to comment.