Skip to content

Commit

Permalink
Merge pull request #533 from FWDekker/fix-actions
Browse files Browse the repository at this point in the history
Bump action versions
  • Loading branch information
FWDekker authored Apr 15, 2024
2 parents 0cb5449 + e61f4f0 commit 2ad3b10
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
build-root-directory: main/
generate-job-summary: false
add-job-summary: on-failure

- name: Extract version number
working-directory: main/
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
generate-job-summary: false
add-job-summary: on-failure
- name: Run tests
run: xvfb-run --auto-servernum ./gradlew check
- name: Store coverage report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage
path: build/reports/kover/report.xml
Expand All @@ -46,9 +46,9 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
generate-job-summary: false
add-job-summary: on-failure
- name: Run tests
run: ./gradlew check

Expand All @@ -63,9 +63,9 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
generate-job-summary: false
add-job-summary: on-failure
- name: Run tests
run: ./gradlew check

Expand All @@ -76,11 +76,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Load coverage report
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage
- name: Upload coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
files: report.xml

0 comments on commit 2ad3b10

Please sign in to comment.