Skip to content

Commit

Permalink
ci(detekt): fix temp directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-Ritter committed Jan 22, 2024
1 parent 20c6c74 commit 7923fdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
DETEKT_RELEASE_TAG: "1.23.4"
DETEKT_FILE_NAME: "detekt-cli-$DETEKT_VERSION-all.jar"
DETEKT_URL: "https://github.com/detekt/detekt/releases/download/v$DETEKT_VERSION/$DETEKT_FILE_NAME"
DETEKT_DIRECTORY: "/detekt_temp/lib/"
DETEKT_DIRECTORY: "/tmp/detekt_temp/lib/"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -65,6 +65,7 @@ jobs:
# Sets up the detekt cli
- name: Setup Detekt
run: |
mkdir $DETEKT_DIRECTORY
curl --request GET \
--url $DETEKT_URL \
--silent \
Expand Down

0 comments on commit 7923fdb

Please sign in to comment.