Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump gh-actions versions #131

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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