Skip to content

Commit

Permalink
update actions versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-ry4n committed Oct 29, 2024
1 parent 723acec commit a0e0406
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up GPG key
run: gpg --import gradle/tuweni-test.asc
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
Expand All @@ -46,17 +46,17 @@ jobs:
env:
ENABLE_SIGNING: true
- name: Upload source distrib
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: distsrc
path: dist/build/distributions/tuweni-src-*.zip
- name: Upload binary distrib
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: snapshot.zip
path: dist/build/distributions/tuweni-bin-*.zip
- name: Cache classes
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "**/*.class"
key: ${{ runner.os }}-build-${{ github.sha }}
Expand All @@ -71,21 +71,21 @@ jobs:
with:
submodules: true
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: gradle
- name: Cache classes
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "**/*.class"
key: ${{ runner.os }}-build-${{ github.sha }}
- name: gradle test
run: gradle test
- name: Archive Junit Report
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: junit-report
path: '**/build/reports/tests/**'
Expand All @@ -98,7 +98,7 @@ jobs:
needs: assemble
steps:
- name: Download distsrc
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
id: download
with:
name: distsrc
Expand All @@ -111,7 +111,7 @@ jobs:
- name: Rename folder
run: mv distunzipped/tuweni-src-* distunzipped/tuweni
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
Expand Down Expand Up @@ -139,15 +139,15 @@ jobs:
java-version: 21
cache: gradle
- name: Cache classes
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "**/*.class"
key: ${{ runner.os }}-build-${{ github.sha }}
- name: gradle integrationTest
run: gradle compileJava compileKotlin compileIntegrationTestJava compileIntegrationTestKotlin devp2p-eth:integrationTest devp2p-proxy:integrationTest devp2p:integrationTest dist:integrationTest dns-discovery:integrationTest eth-client-ui:integrationTest eth-client:integrationTest ethstats:integrationTest gossip:integrationTest hobbits-relayer:integrationTest hobbits:integrationTest plumtree-servlet:integrationTest plumtree-vertx:integrationTest rlpx:integrationTest
- name: Archive Junit Report
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: junit-report
path: '**/build/reports/tests/**'
Expand All @@ -163,13 +163,13 @@ jobs:
with:
submodules: true
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: gradle
- name: Cache classes
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "**/*.class"
key: ${{ runner.os }}-build-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ssb-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,21 @@ jobs:
with:
submodules: true
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: gradle
- name: Cache classes
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "**/*.class"
key: ${{ runner.os }}-build-${{ github.sha }}
- name: gradle integrationTest
run: gradle scuttlebutt-client-lib:integrationTest scuttlebutt-discovery:integrationTest scuttlebutt-handshake:integrationTest scuttlebutt-rpc:integrationTest
- name: Archive Junit Report
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: junit-report
path: '**/build/reports/tests/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
submodules: true
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
Expand All @@ -43,7 +43,7 @@ jobs:
run: ./gradlew.bat test
- name: Archive Junit Report
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: junit-report
path: '**/build/reports/tests/**'
Expand Down

0 comments on commit a0e0406

Please sign in to comment.