mirror of
https://github.com/actix/actix-web.git
synced 2024-11-22 01:21:10 +00:00
ci: nightly rust versions in variables (#3501)
This commit is contained in:
parent
ef977055fc
commit
6771be20b3
1 changed files with 6 additions and 6 deletions
12
.github/workflows/lint.yml
vendored
12
.github/workflows/lint.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue