Update actions/checkout from v1 to v2
Update the version of the checkout action in Github CI runner.
@@ -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@v1
+ uses: actions/checkout@v2
- name: Install rust
uses: ./.github/actions/rust-toolchain
@@ -69,7 +69,7 @@ jobs:
RUST_BACKTRACE: 1
steps:
- name: Clone repository
- uses: actions/checkout@v1
+ uses: actions/checkout@v2
- name: Install rust
uses: ./.github/actions/rust-toolchain
@@ -113,7 +113,7 @@ jobs:
rustflags: -Ctarget-feature=+crt-static
steps:
- name: Clone repository
- uses: actions/checkout@v1
+ uses: actions/checkout@v2
- name: Install rust
uses: ./.github/actions/rust-toolchain
@@ -185,7 +185,7 @@ jobs:
RUST_BACKTRACE: 1
steps:
- name: Clone repository
- uses: actions/checkout@v1
+ uses: actions/checkout@v2
- name: Install rust
uses: ./.github/actions/rust-toolchain
@@ -234,7 +234,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Clone repository
- uses: actions/checkout@v1
+ uses: actions/checkout@v2
- name: Get artifacts
uses: actions/download-artifact@v2
