1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 00:01:11 +01:00

ci: move nightly rust versions to vars (#615)

This commit is contained in:
Rob Ede 2024-11-14 09:43:47 +01:00 committed by GitHub
parent 8084cec705
commit 4ab27bfc4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,14 +45,15 @@ jobs:
clippy_flags: --workspace --all-features --tests --examples --bins -- -Dclippy::todo -Aunknown_lints clippy_flags: --workspace --all-features --tests --examples --bins -- -Dclippy::todo -Aunknown_lints
check-external-types: check-external-types:
if: false # rustdoc mismatch currently
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Rust (nightly-2023-10-10) - name: Install Rust (${{ vars.RUST_VERSION_EXTERNAL_TYPES }})
uses: actions-rust-lang/setup-rust-toolchain@v1.10.1 uses: actions-rust-lang/setup-rust-toolchain@v1.10.1
with: with:
toolchain: nightly-2023-10-10 toolchain: ${{ vars.RUST_VERSION_EXTERNAL_TYPES }}
- name: Install just - name: Install just
uses: taiki-e/install-action@v2.44.60 uses: taiki-e/install-action@v2.44.60
@ -62,7 +63,7 @@ jobs:
- name: Install cargo-check-external-types - name: Install cargo-check-external-types
uses: taiki-e/cache-cargo-install-action@v2.0.1 uses: taiki-e/cache-cargo-install-action@v2.0.1
with: with:
tool: cargo-check-external-types@0.1.10 tool: cargo-check-external-types
- name: check external types - name: check external types
run: just check-external-types-all +nightly-2023-10-10 run: just check-external-types-all +${{ vars.RUST_VERSION_EXTERNAL_TYPES }}