mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-23 16:21:06 +01:00
ci: nightly rust versions in variables (#3501)
This commit is contained in:
parent
ef977055fc
commit
6771be20b3
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user