diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d3ef4c9..669927ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check xtask cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: xtask-cache with: path: target/debug/xtask @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install rust nightly toolchain uses: dtolnay/rust-toolchain@master @@ -58,7 +58,7 @@ jobs: tool: cargo-sort - name: Get xtask - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: target/debug/xtask key: xtask-${{ hashFiles('Cargo.toml', 'xtask/src/**', 'xtask/Cargo.toml') }} @@ -90,7 +90,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install MSRV toolchain uses: dtolnay/rust-toolchain@master @@ -105,7 +105,7 @@ jobs: shared-key: msrv1.75 - name: Get xtask - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: target/debug/xtask key: xtask-${{ hashFiles('Cargo.toml', 'xtask/src/**', 'xtask/Cargo.toml') }} @@ -137,7 +137,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install rust stable toolchain uses: dtolnay/rust-toolchain@stable @@ -145,7 +145,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Get xtask - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: target/debug/xtask key: xtask-${{ hashFiles('Cargo.toml', 'xtask/src/**', 'xtask/Cargo.toml') }} @@ -180,7 +180,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install rust nightly toolchain uses: dtolnay/rust-toolchain@master @@ -191,7 +191,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Get xtask - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: target/debug/xtask key: xtask-${{ hashFiles('Cargo.toml', 'xtask/src/**', 'xtask/Cargo.toml') }} @@ -212,7 +212,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install nightly rust toolchain # Nightly needed for use of unstable options @@ -223,7 +223,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Get xtask - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: target/debug/xtask key: xtask-${{ hashFiles('Cargo.toml', 'xtask/src/**', 'xtask/Cargo.toml') }} @@ -241,7 +241,7 @@ jobs: - name: Upload docs as artifact if: github.event_name == 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: docs path: docs.tar.zstd diff --git a/.github/workflows/deps.yml b/.github/workflows/deps.yml index aacf4aaf..7e3f0d49 100644 --- a/.github/workflows/deps.yml +++ b/.github/workflows/deps.yml @@ -20,7 +20,7 @@ jobs: if: github.event.name != 'schedule' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: EmbarkStudios/cargo-deny-action@v1 with: command: check bans licenses sources @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: EmbarkStudios/cargo-deny-action@v1 with: command: check advisories diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index 3d4ce153..71e9703b 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -12,7 +12,7 @@ jobs: if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.pull_requests[0] != null steps: - name: Download artifact - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({ diff --git a/.github/workflows/docs-remove-preview.yml b/.github/workflows/docs-remove-preview.yml index 873cca01..9153158a 100644 --- a/.github/workflows/docs-remove-preview.yml +++ b/.github/workflows/docs-remove-preview.yml @@ -12,7 +12,7 @@ jobs: if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' steps: - name: Get PR number - uses: actions/github-script@v6 + uses: actions/github-script@v7 id: get_pr continue-on-error: true with: