From 8ea0082fea6e5034d45f10975b5ab50c2d70e844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= Date: Mon, 18 Sep 2023 13:51:07 +0200 Subject: [PATCH] Bump GitHub actions (#1724) * Bump GitHub actions Avoid using versions that using Node 12 environment that generate warnings in workflow runs. Use new versions instead that depend on Node 16. * Remove chmod on gradlew Git tracks executable permission. No need to change it in workflow. --- .github/workflows/checkstyle.yml | 4 +--- .github/workflows/ci.yml | 6 ++---- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/gradle-wrapper-validation.yml | 2 +- .github/workflows/markdown-links-check.yml | 2 +- .github/workflows/release.yml | 2 +- 6 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index 6a276eb781..81e0232268 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -10,7 +10,7 @@ jobs: checkstyle: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: reviewdog/action-setup@v1 @@ -21,8 +21,6 @@ jobs: with: java-version: 17 distribution: 'temurin' - - name: Grant execute permission for gradlew - run: chmod +x gradlew - name: Run check style run: ./gradlew --continue clean checkstyleMain checkstyleTest checkstyleIntegration checkstyleJmh -PmaxCheckstyleWarnings=0 - name: Run reviewdog diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80e7b4d34a..bacae24a7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,10 @@ jobs: fail-fast: false name: ${{ matrix.tasks.alias }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: | ~/.gradle/caches @@ -35,8 +35,6 @@ jobs: with: java-version: 17 distribution: 'temurin' - - name: Grant execute permission for gradlew - run: chmod +x gradlew - name: Build with Gradle run: ./gradlew assemble - name: Run task with Gradle diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1370528439..56c5ff5084 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,7 +35,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK 17 uses: actions/setup-java@v3 diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index 73bc480bc2..d3c1263959 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -12,5 +12,5 @@ jobs: name: "Validation" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/markdown-links-check.yml b/.github/workflows/markdown-links-check.yml index d4ba39baba..6920411bd5 100644 --- a/.github/workflows/markdown-links-check.yml +++ b/.github/workflows/markdown-links-check.yml @@ -12,7 +12,7 @@ jobs: check-links: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: use-quiet-mode: 'yes' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5275e80baa..c6485311cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: environment: ci steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: gradle/wrapper-validation-action@v1