diff options
author | Linnea Gräf <nea@nea.moe> | 2024-09-19 21:21:07 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-09-19 21:21:07 +0200 |
commit | c65cf97ee246bbd58fd49015a428e39b20e34a79 (patch) | |
tree | ff85e7daed73d6b0f7c4b50e591563d8d973da1c | |
parent | ab19e365c1962db5d94b2cc713ab9216024fc80d (diff) | |
download | skyhanni-feat/detekt.tar.gz skyhanni-feat/detekt.tar.bz2 skyhanni-feat/detekt.zip |
Fix composite action not being checked outfeat/detekt
-rw-r--r-- | .github/actions/setup-normal-workspace/action.yml | 2 | ||||
-rw-r--r-- | .github/workflows/build.yml | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/actions/setup-normal-workspace/action.yml b/.github/actions/setup-normal-workspace/action.yml index 100aa9b03..a0781d53c 100644 --- a/.github/actions/setup-normal-workspace/action.yml +++ b/.github/actions/setup-normal-workspace/action.yml @@ -3,8 +3,6 @@ name: 'Setup Java, Gradle and check out the source code' runs: using: composite steps: - - name: Checkout code - uses: actions/checkout@v4 - name: Set up JDK 21 uses: actions/setup-java@v4 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1af96882..bae846e07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,8 @@ jobs: runs-on: ubuntu-latest name: "Build and test" steps: + - name: Checkout code + uses: actions/checkout@v4 - uses: ./.github/actions/setup-normal-workspace - name: Build with Gradle run: ./gradlew assemble -x test --stacktrace @@ -39,6 +41,8 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v4 - uses: ./.github/actions/setup-normal-workspace - name: Run detekt run: | @@ -69,6 +73,8 @@ jobs: runs-on: ubuntu-latest name: "Build multi version" steps: + - name: Checkout code + uses: actions/checkout@v4 - uses: ./.github/actions/setup-normal-workspace - name: Enable preprocessor run: | |