diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 97304b7bde..01737d8c75 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -34,7 +34,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' @@ -63,13 +63,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/dependency-check.yml b/.github/workflows/dependency-check.yml index 999c418783..0b8a3132fa 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -13,11 +13,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 4893a88fda..a6f35e4ad8 100644 --- a/.github/workflows/full-help-docs.yml +++ b/.github/workflows/full-help-docs.yml @@ -11,7 +11,7 @@ jobs: doc_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: stellar/actions/rust-cache@main - run: rustup update - name: Generate help doc @@ -26,7 +26,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 4a092c1bae..2536906584 100644 --- a/.github/workflows/ledger-emulator.yml +++ b/.github/workflows/ledger-emulator.yml @@ -15,7 +15,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 ad999830ae..1fbbf48e30 100644 --- a/.github/workflows/rpc-tests.yml +++ b/.github/workflows/rpc-tests.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/rust.yml b/.github/workflows/rust.yml index ba88fd7552..fbe2855fd3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,7 +22,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 @@ -54,7 +54,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' diff --git a/.github/workflows/update-completed-sprint-on-issue-closed.yml b/.github/workflows/update-completed-sprint-on-issue-closed.yml index 8ca1cf26e7..009de0dd3e 100644 --- a/.github/workflows/update-completed-sprint-on-issue-closed.yml +++ b/.github/workflows/update-completed-sprint-on-issue-closed.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Generate token id: generate_token - uses: tibdex/github-app-token@v1 + uses: tibdex/github-app-token@v2 with: app_id: ${{ secrets.GH_PROJECT_MANAGEMENT_APP_ID }} private_key: ${{ secrets.GH_PROJECT_MANAGEMENT_APP_PEM }}