From ecc20c47b20536f9606c7e06f3be255ca82864c7 Mon Sep 17 00:00:00 2001 From: Drjacky Date: Sun, 6 Aug 2023 11:07:56 +0100 Subject: [PATCH] Update workflows --- .github/workflows/android.yml | 4 ++-- .github/workflows/gradlew-validation.yml | 2 +- .github/workflows/pre-merge.yml | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 5a854cf2..d6b95f93 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 17 - name: Set Gradle as executable diff --git a/.github/workflows/gradlew-validation.yml b/.github/workflows/gradlew-validation.yml index c48d03cd..ad80c765 100644 --- a/.github/workflows/gradlew-validation.yml +++ b/.github/workflows/gradlew-validation.yml @@ -13,6 +13,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout latest code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 \ No newline at end of file diff --git a/.github/workflows/pre-merge.yml b/.github/workflows/pre-merge.yml index 6fc79792..1bcae682 100644 --- a/.github/workflows/pre-merge.yml +++ b/.github/workflows/pre-merge.yml @@ -17,20 +17,20 @@ jobs: if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 17 - name: Unit tests run: bash ./gradlew test --stacktrace - name: Cache Gradle Caches - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.gradle/caches/ key: cache-gradle-cache - name: Cache Gradle Wrapper - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.gradle/wrapper/ key: cache-gradle-wrapper