1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-25 02:51:15 +00:00

ci: nightly rust versions in variables (#3501)

This commit is contained in:
Rob Ede 2024-11-14 09:29:00 +01:00 committed by GitHub
parent ef977055fc
commit 6771be20b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,15 +66,15 @@ jobs:
run: cargo +nightly doc --no-deps --workspace --all-features
check-external-types:
if: false # disable until https://github.com/awslabs/cargo-check-external-types/pull/177 is marged
if: false # rustdoc mismatch currently
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust (nightly-2024-05-01)
- name: Install Rust (${{ vars.RUST_VERSION_EXTERNAL_TYPES }})
uses: actions-rust-lang/setup-rust-toolchain@v1.10.1
with:
toolchain: nightly-2024-05-01
toolchain: ${{ vars.RUST_VERSION_EXTERNAL_TYPES }}
- name: Install just
uses: taiki-e/install-action@v2.44.60
@ -87,7 +87,7 @@ jobs:
tool: cargo-check-external-types
- name: check external types
run: just check-external-types-all +nightly-2024-05-01
run: just check-external-types-all +${{ vars.RUST_VERSION_EXTERNAL_TYPES }}
public-api-diff:
runs-on: ubuntu-latest
@ -100,10 +100,10 @@ jobs:
- name: Checkout PR branch
uses: actions/checkout@v4
- name: Install Rust (nightly-2024-09-30)
- name: Install Rust (${{ vars.RUST_VERSION_API_DIFF }})
uses: actions-rust-lang/setup-rust-toolchain@v1.10.1
with:
toolchain: nightly-2024-09-30
toolchain: ${{ vars.RUST_VERSION_API_DIFF }}
- name: Install cargo-public-api
uses: taiki-e/install-action@v2.44.60