Update actions to v3
Update the version of the actions used in the GitHub workflow file.
@@ -18,7 +18,7 @@ jobs:
cargo_cmd: clippy --locked --all-targets -- -D warnings -A unknown-lints -A clippy::type_complexity -A clippy::new-without-default
steps:
- name: Clone repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Install rust
uses: ./.github/actions/rust-toolchain
@@ -70,7 +70,7 @@ jobs:
RUST_BACKTRACE: 1
steps:
- name: Clone repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Install rust
uses: ./.github/actions/rust-toolchain
@@ -114,7 +114,7 @@ jobs:
rustflags: -Ctarget-feature=+crt-static
steps:
- name: Clone repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Install rust
uses: ./.github/actions/rust-toolchain
@@ -157,7 +157,7 @@ jobs:
ID: ${{ startsWith(github.ref, 'refs/tags/') && github.ref || github.sha }}
- name: Upload artifacts
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: ${{ matrix.binary || 'sccache' }}-${{ steps.id.outputs.id }}-${{ matrix.target }}
path: target/${{ matrix.target }}/release/${{ matrix.binary || 'sccache' }}${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }}
@@ -186,7 +186,7 @@ jobs:
RUST_BACKTRACE: 1
steps:
- name: Clone repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Install rust
uses: ./.github/actions/rust-toolchain
@@ -235,10 +235,10 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Clone repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Get artifacts
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
- name: Create release assets
run: |
