1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 09:42:57 +01: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 run: cargo +nightly doc --no-deps --workspace --all-features
check-external-types: 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 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - 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 uses: actions-rust-lang/setup-rust-toolchain@v1.10.1
with: with:
toolchain: nightly-2024-05-01 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
@ -87,7 +87,7 @@ jobs:
tool: cargo-check-external-types tool: cargo-check-external-types
- name: 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: public-api-diff:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -100,10 +100,10 @@ jobs:
- name: Checkout PR branch - name: Checkout PR branch
uses: actions/checkout@v4 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 uses: actions-rust-lang/setup-rust-toolchain@v1.10.1
with: with:
toolchain: nightly-2024-09-30 toolchain: ${{ vars.RUST_VERSION_API_DIFF }}
- name: Install cargo-public-api - name: Install cargo-public-api
uses: taiki-e/install-action@v2.44.60 uses: taiki-e/install-action@v2.44.60