diff --git a/.github/workflows/ci-android.yml b/.github/workflows/ci-android.yml index c9bafd4..87cdf2d 100644 --- a/.github/workflows/ci-android.yml +++ b/.github/workflows/ci-android.yml @@ -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 @@ -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 \ No newline at end of file + args: --config config/detekt/detekt.yml -plugins config/detekt/detekt-formatting-1.23.6.jar \ No newline at end of file