Pin nightly to `2022-02-22` to fix CI (#1221)

This commit is contained in:
John DiSanti 2022-02-24 07:33:15 -08:00 committed by GitHub
parent 801808061a
commit 4f183f71fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@ jobs:
- name: Clippy - name: Clippy
run: cargo clippy --all-features run: cargo clippy --all-features
- name: Unused Dependencies - name: Unused Dependencies
run: cargo +nightly udeps run: cargo +nightly-2022-02-22 udeps
- name: Additional per-crate checks - name: Additional per-crate checks
run: ../tools/additional-per-crate-checks.sh ./sdk/ ../tools/ci-cdk/ run: ../tools/additional-per-crate-checks.sh ./sdk/ ../tools/ci-cdk/
env: env:
@ -87,7 +87,7 @@ jobs:
default: true default: true
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly toolchain: nightly-2022-02-22
default: false default: false
- name: Cache cargo bin - name: Cache cargo bin
uses: actions/cache@v2 uses: actions/cache@v2
@ -97,7 +97,7 @@ jobs:
- name: Install additional cargo binaries - name: Install additional cargo binaries
run: | run: |
if [[ ! -f ~/.cargo/bin/cargo-udeps ]]; then if [[ ! -f ~/.cargo/bin/cargo-udeps ]]; then
cargo +nightly install cargo-udeps cargo +nightly-2022-02-22 install cargo-udeps
fi fi
if [[ ! -f ~/.cargo/bin/cargo-hack ]]; then if [[ ! -f ~/.cargo/bin/cargo-hack ]]; then
cargo install cargo-hack cargo install cargo-hack

View File

@ -12,4 +12,4 @@ echo "### Checking for duplicate dependency versions in the normal dependency gr
cargo tree -d --edges normal --all-features cargo tree -d --edges normal --all-features
echo "### Running api-linter" echo "### Running api-linter"
cargo +nightly api-linter --all-features cargo +nightly-2022-02-22 api-linter --all-features

View File

@ -7,4 +7,4 @@ set -e
cd "$(dirname $0)" cd "$(dirname $0)"
cargo clippy cargo clippy
cargo +nightly test cargo +nightly-2022-02-22 test