diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e64547a9b..ac13cb2e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 }} @@ -71,13 +71,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 }} @@ -85,7 +85,7 @@ jobs: 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/**' @@ -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 @@ -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 @@ -139,7 +139,7 @@ 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 }} @@ -147,7 +147,7 @@ jobs: 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/**' @@ -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 }} diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c986d8aeb..cca22c3a1 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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 diff --git a/.github/workflows/ssb-integration-tests.yml b/.github/workflows/ssb-integration-tests.yml index e413eaf70..98bd68ac1 100644 --- a/.github/workflows/ssb-integration-tests.yml +++ b/.github/workflows/ssb-integration-tests.yml @@ -54,13 +54,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 }} @@ -68,7 +68,7 @@ jobs: 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/**' diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index b93cfe737..0cf335974 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -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 @@ -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/**'