1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-16 21:26:34 +00:00

chore(ci): don't use variables to install rust nightly, as other contributors cannot access them

This commit is contained in:
Joel Wurtz 2024-12-16 12:05:52 +01:00
parent 8115c818c1
commit 1bfcce7d8e
No known key found for this signature in database
GPG key ID: ED264D1967A51B0D

View file

@ -71,10 +71,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Rust (${{ vars.RUST_VERSION_EXTERNAL_TYPES }})
- name: Install Rust nightly
uses: actions-rust-lang/setup-rust-toolchain@v1.10.1
with:
toolchain: ${{ vars.RUST_VERSION_EXTERNAL_TYPES }}
toolchain: nightly-2024-10-18
- name: Install just
uses: taiki-e/install-action@v2.45.6
@ -87,7 +87,7 @@ jobs:
tool: cargo-check-external-types
- name: check external types
run: just check-external-types-all +${{ vars.RUST_VERSION_EXTERNAL_TYPES }}
run: just check-external-types-all +nightly-2024-10-18
public-api-diff:
runs-on: ubuntu-latest
@ -100,10 +100,10 @@ jobs:
- name: Checkout PR branch
uses: actions/checkout@v4
- name: Install Rust (${{ vars.RUST_VERSION_API_DIFF }})
- name: Install Rust nightly
uses: actions-rust-lang/setup-rust-toolchain@v1.10.1
with:
toolchain: ${{ vars.RUST_VERSION_API_DIFF }}
toolchain: nightly-2024-10-18
- name: Install cargo-public-api
uses: taiki-e/install-action@v2.45.6