From 55c72097b09b5d588670f6dc32d43ea1da8a2942 Mon Sep 17 00:00:00 2001 From: loucasal Date: Sat, 24 Feb 2024 15:05:15 +0100 Subject: [PATCH] Fix warnings about deprecated checks (#6935) --- .github/workflows/checks.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 4b7c49333..c7a21245d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 45 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Checkstyle @@ -23,7 +23,7 @@ jobs: id: vars run: | git fetch origin develop - echo "::set-output name=branchBaseCommit::$(git merge-base origin/develop HEAD)" + echo "branchBaseCommit=$(git merge-base origin/develop HEAD)" >> $GITHUB_OUTPUT - name: Diff-Checkstyle run: | curl -s -L https://github.com/yangziwen/diff-check/releases/download/0.0.7/diff-checkstyle.jar > diff-checkstyle.jar @@ -40,8 +40,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 45 steps: - - uses: actions/checkout@v3 - - uses: gradle/wrapper-validation-action@v1 + - uses: actions/checkout@v4 + - uses: gradle/wrapper-validation-action@v2 static-analysis: name: "Static Code Analysis" @@ -49,9 +49,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 45 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -83,9 +83,9 @@ jobs: execute-tests: false upload-artifact: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -98,7 +98,7 @@ jobs: - name: Test if: matrix.execute-tests == true run: ./gradlew test${{ matrix.variant }}UnitTest test${{ matrix.base-variant }}UnitTest - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: matrix.upload-artifact == true with: name: app-play-debug.apk @@ -112,14 +112,14 @@ jobs: env: api-level: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '11' - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -137,7 +137,7 @@ jobs: emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: true script: zsh .github/workflows/runEmulatorTests.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: test-report