From 686825ef198634947fa0de0e41e006ef8e404a9b Mon Sep 17 00:00:00 2001 From: stewartbryson Date: Tue, 6 Feb 2024 12:43:52 -0500 Subject: [PATCH 1/3] Upgraded checkout. --- .github/workflows/gradle-pr.yml | 4 ++-- .github/workflows/gradle-release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-pr.yml b/.github/workflows/gradle-pr.yml index be3c8fc..1c47e44 100644 --- a/.github/workflows/gradle-pr.yml +++ b/.github/workflows/gradle-pr.yml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -91,7 +91,7 @@ jobs: steps: # Should really make these reusable - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Write gradle.properties file id: gradle-properties diff --git a/.github/workflows/gradle-release.yml b/.github/workflows/gradle-release.yml index be2333d..97be4bc 100644 --- a/.github/workflows/gradle-release.yml +++ b/.github/workflows/gradle-release.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 From 1915415b874faabf185bbfc8c3a36374c4608d54 Mon Sep 17 00:00:00 2001 From: stewartbryson Date: Tue, 6 Feb 2024 12:47:06 -0500 Subject: [PATCH 2/3] Upgraded gradle-build-action. --- .github/workflows/gradle-pr.yml | 4 ++-- .github/workflows/gradle-release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-pr.yml b/.github/workflows/gradle-pr.yml index 1c47e44..06214d0 100644 --- a/.github/workflows/gradle-pr.yml +++ b/.github/workflows/gradle-pr.yml @@ -60,7 +60,7 @@ jobs: - name: Gradle build and test id: gradle-build - uses: gradle/gradle-build-action@v2.4.2 + uses: gradle/gradle-build-action@v3 with: arguments: build validatePlugin functionalTest integrationTest buildDashboard --scan -S cache-read-only: ${{ github.base_ref == 'main' }} @@ -112,7 +112,7 @@ jobs: SNOW_CONFIG: ${{secrets.SNOW_CONFIG}} - name: ${{ matrix.directory }} - uses: gradle/gradle-build-action@v2.4.2 + uses: gradle/gradle-build-action@v3 with: arguments: matrixStrategy -Psnowflake.useEphemeral=true -S build-root-directory: examples/${{ matrix.directory }} diff --git a/.github/workflows/gradle-release.yml b/.github/workflows/gradle-release.yml index 97be4bc..ca51c0e 100644 --- a/.github/workflows/gradle-release.yml +++ b/.github/workflows/gradle-release.yml @@ -55,7 +55,7 @@ jobs: - name: Gradle publish id: gradle-publish - uses: gradle/gradle-build-action@v2.4.2 + uses: gradle/gradle-build-action@v3 with: arguments: build validatePlugin publish examples buildDashboard -Pversion=${{ steps.set-values.outputs.version }} -S --scan From 0a53a78ba6f149c1363b8909e582a60fb4f52867 Mon Sep 17 00:00:00 2001 From: stewartbryson Date: Tue, 6 Feb 2024 12:52:52 -0500 Subject: [PATCH 3/3] Upgraded unit-report and release-drafter. --- .github/workflows/gradle-pr.yml | 4 ++-- .github/workflows/gradle-release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-pr.yml b/.github/workflows/gradle-pr.yml index 06214d0..1da8976 100644 --- a/.github/workflows/gradle-pr.yml +++ b/.github/workflows/gradle-pr.yml @@ -67,14 +67,14 @@ jobs: - name: Publish tests id: publish-tests - uses: mikepenz/action-junit-report@v3 + uses: mikepenz/action-junit-report@v4 if: always() with: report_paths: '**/build/test-results/**/TEST-*.xml' - name: Create a draft release from PR. id: release-draft - uses: release-drafter/release-drafter@v5 + uses: release-drafter/release-drafter@v6 with: commitish: main env: diff --git a/.github/workflows/gradle-release.yml b/.github/workflows/gradle-release.yml index ca51c0e..e74bcf4 100644 --- a/.github/workflows/gradle-release.yml +++ b/.github/workflows/gradle-release.yml @@ -60,7 +60,7 @@ jobs: arguments: build validatePlugin publish examples buildDashboard -Pversion=${{ steps.set-values.outputs.version }} -S --scan - name: Publish tests - uses: mikepenz/action-junit-report@v3 + uses: mikepenz/action-junit-report@v4 if: always() with: report_paths: '**/build/test-results/**/TEST-*.xml'