Skip to content

Commit

Permalink
Merge pull request #131 from harrel56/chore/upgrade-actions-versions
Browse files Browse the repository at this point in the history
bump gh-actions versions
  • Loading branch information
harrel56 authored Feb 1, 2024
2 parents d5694f5 + 2ae8108 commit 840a906
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: ${{ vars.JAVA_VENDOR }}
java-version: ${{ vars.JAVA_VERSION }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
gradle-version: wrapper

Expand All @@ -29,7 +29,7 @@ jobs:
run: ./gradlew check

- name: Upload build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-output
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: ${{ vars.JAVA_VENDOR }}
java-version: ${{ vars.JAVA_VERSION }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
gradle-version: wrapper

Expand All @@ -30,7 +30,7 @@ jobs:
run: ./gradlew check

- name: Upload build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-output
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@ jobs:
needs: get-info
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: ${{ github.event.workflow_run.head_repository.full_name }}
ref: ${{ github.event.workflow_run.head_branch }}
fetch-depth: 0

- name: Download code coverage
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
workflow: tests.yml
commit: ${{ github.event.workflow_run.head_sha }}
name: report-output
path: build/reports

- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: ${{ vars.JAVA_VENDOR }}
java-version: ${{ vars.JAVA_VERSION }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
gradle-version: wrapper

Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
# Not using variables to allow running from forks
distribution: temurin
java-version: 21

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
gradle-version: wrapper

- name: Run generic tests
run: ./gradlew check -x test --no-daemon

- name: Upload test execution data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: generic-tests-exec
path: build/jacoco
Expand All @@ -39,7 +39,7 @@ jobs:
test-classes: ${{ steps.test-classes.outputs.test-classes }}
steps:
- name: Git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: List provider test classes
id: test-classes
run: |
Expand All @@ -55,16 +55,16 @@ jobs:
test-class: ${{ fromJSON(needs.provider-list.outputs.test-classes) }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
# Not using variables to allow running from forks
distribution: temurin
java-version: 21

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
gradle-version: wrapper

Expand All @@ -75,7 +75,7 @@ jobs:
run: mv build/jacoco/test.exec build/jacoco/${{ matrix.test-class }}.exec

- name: Upload test execution data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.test-class }}-tests-exec
path: build/jacoco
Expand All @@ -85,21 +85,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
# Not using variables to allow running from forks
distribution: temurin
java-version: 21

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
gradle-version: wrapper

- name: Download test execution data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: build/jacoco

Expand All @@ -117,7 +117,7 @@ jobs:
generate-coverage-endpoint: true

- name: Upload report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: report-output
path: build/reports

0 comments on commit 840a906

Please sign in to comment.