From fa951d9f640301c326f296fe021005501595d1cb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 15:06:01 +0000 Subject: [PATCH] Update all github actions --- .github/workflows/build_and_test.yml | 10 +++++----- .github/workflows/detekt.yml | 2 +- .github/workflows/diktat.yml | 6 +++--- .github/workflows/release.yml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 1f595fff..00e1376b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -25,14 +25,14 @@ jobs: # actions/checkout v1.* is needed for correct codecov upload, see https://github.com/actions/checkout/issues/237 for details - uses: actions/checkout@v4 # ensure that gradle wrapper files in repository are valid by checking checksums - - uses: gradle/wrapper-validation-action@v1 + - uses: gradle/wrapper-validation-action@v2 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 8 distribution: zulu - name: Cache konan - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.konan key: ${{ runner.os }}-gradle-konan @@ -52,14 +52,14 @@ jobs: buildSrc/**/Versions.kt - name: Upload gradle reports if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gradle-reports-${{ matrix.os }} path: '**/build/reports/' - name: Code coverage report #if: ${{ runner.os == 'Linux' }} if: ${{ false }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: unittests fail_ci_if_error: true # optional (default = false) diff --git a/.github/workflows/detekt.yml b/.github/workflows/detekt.yml index 46ab3091..2ffee6dd 100644 --- a/.github/workflows/detekt.yml +++ b/.github/workflows/detekt.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 11 distribution: zulu diff --git a/.github/workflows/diktat.yml b/.github/workflows/diktat.yml index 85b74e57..20c533ea 100644 --- a/.github/workflows/diktat.yml +++ b/.github/workflows/diktat.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 11 distribution: zulu @@ -33,12 +33,12 @@ jobs: i=0 find . -path "*/build/reports/diktat/*.sarif" | while read -r f; do echo "$f -> diktat-$i.sarif" && cp $f build/diktat-sarif-reports/diktat-$i.sarif || echo Cannot copy && echo Copied && i=$((i+1)); done - name: Upload SARIF report to Github - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 if: ${{ failure() }} with: sarif_file: build/diktat-sarif-reports - name: Upload SARIF artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: sarif-reports diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ffd7cde..7d103b30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: # release workflow should have access to all tags fetch-depth: 0 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 8 distribution: zulu