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 actions versions #299

Merged
merged 2 commits into from
Feb 21, 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
36 changes: 18 additions & 18 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11.0.18
Expand All @@ -25,8 +25,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11.0.18
Expand All @@ -37,17 +37,17 @@ jobs:
zip -rg unit-test-results.zip build/reports/tests/unitTest
zip -rq coverage-html.zip build/reports/kover/html
- name: Export test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unit-test-results
path: unit-test-results.zip
- name: Export coverage stats
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kover-report
path: coverage-html.zip
- name: Export snapshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: failed-snapshots
Expand All @@ -70,8 +70,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11.0.18
Expand All @@ -82,42 +82,42 @@ jobs:
AWS_LOGS: ${{ secrets.AWS_LOGS }}
run: xvfb-run --auto-servernum ./gradlew integrationAndE2E --info
- name: Export test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: integration-and-e2e-results
path: /home/runner/work/Dartzee/Dartzee/build/reports/tests/integrationAndE2E/**/*.html
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11.0.18
- name: Build JAR
run: ./gradlew jar --info
- name: Export JAR
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dartzee-jar
path: /home/runner/work/Dartzee/Dartzee/build/libs/Dartzee.jar
test-jar:
name: Test JAR - Java ${{ matrix.java-version }}
runs-on: ubuntu-latest
timeout-minutes: 10
needs: [build]
needs: [ build ]
strategy:
matrix:
java-version: [8, 11]
java-version: [ 8, 11 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{ matrix.java-version }}
- name: Download JAR
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dartzee-jar
path: /home/runner/work/Dartzee/Dartzee/build/libs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ jobs:
name: 'terraform'
runs-on: ubuntu-latest
steps:
- uses: hashicorp/setup-terraform@v2
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.3.8
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Unlock secrets'
uses: sliteteam/[email protected]
env:
Expand Down