diff options
-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: | |