Skip to content

Commit

Permalink
Update detekt.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
answad authored Jun 15, 2024
1 parent 6918a39 commit 2bf4407
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
DETEKT_RELEASE_TAG: v1.20.0 # Detekt의 최신 릴리스 태그로 업데이트
DETEKT_RELEASE_TAG: v1.20.0

jobs:
scan:
Expand All @@ -27,7 +27,9 @@ jobs:
java-version: '17'

- name: Install dependencies
run: ./gradlew dependencies
run: |
chmod +x ./gradlew
./gradlew dependencies
- name: Get Detekt download URL
id: detekt_info
Expand Down Expand Up @@ -58,7 +60,7 @@ jobs:
fi
DETEKT_DOWNLOAD_URL=$(jq --raw-output '.data.repository.release.releaseAssets.nodes[0].downloadUrl' gh_response.json)
echo "download_url=$DETEKT_DOWNLOAD_URL" >> $GITHUB_OUTPUT
echo "download_url=$DETEKT_DOWNLOAD_URL" >> $GITHUB_ENV
- name: Setup Detekt
run: |
Expand Down

0 comments on commit 2bf4407

Please sign in to comment.