diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 191b604fa9..5d6c0826b3 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -38,7 +38,7 @@ jobs: ext: .exe runs-on: ${{ matrix.sys.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: rustup update - run: rustup target add ${{ matrix.sys.target }} - if: matrix.sys.target == 'aarch64-unknown-linux-gnu' @@ -67,13 +67,13 @@ jobs: cd target/${{ matrix.sys.target }}/release tar czvf $NAME.tar.gz ${{ matrix.crate.binary }}${{ matrix.sys.ext }} - name: Upload to Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.NAME }} path: 'target/${{ matrix.sys.target }}/release/${{ env.NAME }}.tar.gz' - name: Upload to Release (release only) if: github.event_name == 'release' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const fs = require('fs'); diff --git a/.github/workflows/bindings-ts.yml b/.github/workflows/bindings-ts.yml index 30858aa4a7..957661c4c8 100644 --- a/.github/workflows/bindings-ts.yml +++ b/.github/workflows/bindings-ts.yml @@ -24,8 +24,8 @@ jobs: --health-timeout 5s --health-retries 50 steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/ diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index 4abad18a08..cef838a7c3 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -17,11 +17,11 @@ jobs: dependency-sanity-checker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: rustup update - run: scripts/check-dependencies.bash validate-rust-git-rev-deps: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: stellar/actions/rust-check-git-rev-deps@main diff --git a/.github/workflows/full-help-docs.yml b/.github/workflows/full-help-docs.yml index 4be8cad008..f564ae9ae9 100644 --- a/.github/workflows/full-help-docs.yml +++ b/.github/workflows/full-help-docs.yml @@ -26,7 +26,7 @@ jobs: doc-check: runs-on: ubuntu-latest-16-cores steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: stellar/actions/rust-cache@main - run: rustup update - name: Generate help doc @@ -41,7 +41,7 @@ jobs: - name: Check diff if: steps.doc-gen.outputs.diff != '' - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: script: | core.setFailed('Expected `doc-gen` to generate no diffs, but got diff shown in previous step.\n\nUpdate the full help docs:\n\n cargo md-gen\n\nDo this automatically on every commit by installing the pre-commit hook as explained in the README.') diff --git a/.github/workflows/ledger-emulator.yml b/.github/workflows/ledger-emulator.yml index 2bf371b63e..7a3068d2e1 100644 --- a/.github/workflows/ledger-emulator.yml +++ b/.github/workflows/ledger-emulator.yml @@ -19,7 +19,7 @@ jobs: env: CI_TESTS: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: stellar/actions/rust-cache@main - name: install libudev-dev run: | diff --git a/.github/workflows/rpc-tests.yml b/.github/workflows/rpc-tests.yml index a6faba83b6..769cd21f70 100644 --- a/.github/workflows/rpc-tests.yml +++ b/.github/workflows/rpc-tests.yml @@ -28,8 +28,8 @@ jobs: --health-timeout 5s --health-retries 50 steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/ diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c51d183738..eb4e4c4140 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,7 +26,7 @@ jobs: fmt: runs-on: ubuntu-latest-16-cores steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: rustup update - run: cargo fmt --all --check @@ -58,7 +58,7 @@ jobs: env: CI_TESTS: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: stellar/actions/rust-cache@main - name: Use the minimum supported Rust version if: matrix.rust == 'msrv'