diff --git a/.github/workflows/graalvm.yml b/.github/workflows/graalvm.yml index 3482c4ef..8c293778 100644 --- a/.github/workflows/graalvm.yml +++ b/.github/workflows/graalvm.yml @@ -14,7 +14,7 @@ jobs: name: ${{ matrix.os }} JDK ${{ matrix.java-version }}.${{ matrix.distribution }} steps: - name: Git checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up GraalVM uses: graalvm/setup-graalvm@v1 with: @@ -22,7 +22,7 @@ jobs: distribution: ${{ matrix.distribution }} github-token: ${{ secrets.GITHUB_TOKEN }} - name: Cache Gradle packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -30,7 +30,7 @@ jobs: - name: Build with Gradle run: ./gradlew nativeCompile --scan --info --stacktrace - name: Upload jsonrpc tool as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: jsonrpc-tool-${{ matrix.os }} path: consensusj-jsonrpc-cli/build/jsonrpc diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index 889aa3c3..18dc3344 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -6,5 +6,5 @@ jobs: name: "Validate Gradle Wrapper" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 8e96edf4..3964347d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -14,14 +14,14 @@ jobs: name: ${{ matrix.os }} JDK ${{ matrix.java }} steps: - name: Git checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: ${{ matrix.distribution }} java-version: ${{ matrix.java }} - name: Cache Gradle packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -37,12 +37,12 @@ jobs: working-directory: ./build if: runner.os == 'macOS' - name: Upload SHA256SUMS - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: SHA256SUMS-${{ matrix.os }}-${{ matrix.java }} path: build/SHA256SUMS - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: artifacts-${{ matrix.os }}-${{ matrix.java }} path: build/artifacts diff --git a/.github/workflows/regtest.yml b/.github/workflows/regtest.yml index aed74c53..1cbc0183 100644 --- a/.github/workflows/regtest.yml +++ b/.github/workflows/regtest.yml @@ -13,16 +13,16 @@ jobs: fail-fast: false name: ${{ matrix.os }} JDK ${{ matrix.java }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download Omni Core (Bitcoin Core superset) run: ./test-download-omnicore-ubuntu.sh - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: ${{ matrix.distribution }} java-version: ${{ matrix.java }} - name: Cache Gradle packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -30,7 +30,7 @@ jobs: - name: Run RegTests run: ./test-run-regtest.sh - name: Upload RegTest results as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: regtest-consensusj-jdk${{ matrix.java }}-${{ matrix.os }}-reports