Skip to content

Commit

Permalink
ci: nightly rust versions in variables
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Nov 14, 2024
1 parent 03c65d9 commit c15d78f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
toolchain: nightly-2024-05-01
toolchain: ${{ vars.RUST_VERSION_EXTERNAL_TYPES }}

- name: Install just
uses: taiki-e/[email protected]
Expand All @@ -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
Expand All @@ -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/[email protected]
with:
toolchain: nightly-2024-09-30
toolchain: ${{ vars.RUST_VERSION_API_DIFF }}

- name: Install cargo-public-api
uses: taiki-e/[email protected]
Expand Down

0 comments on commit c15d78f

Please sign in to comment.