Skip to content

Commit 4ab27bf

Browse files
authored
ci: move nightly rust versions to vars (#615)
1 parent 8084cec commit 4ab27bf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@ jobs:
4545
clippy_flags: --workspace --all-features --tests --examples --bins -- -Dclippy::todo -Aunknown_lints
4646

4747
check-external-types:
48+
if: false # rustdoc mismatch currently
4849
runs-on: ubuntu-latest
4950
steps:
5051
- uses: actions/checkout@v4
5152

52-
- name: Install Rust (nightly-2023-10-10)
53+
- name: Install Rust (${{ vars.RUST_VERSION_EXTERNAL_TYPES }})
5354
uses: actions-rust-lang/[email protected]
5455
with:
55-
toolchain: nightly-2023-10-10
56+
toolchain: ${{ vars.RUST_VERSION_EXTERNAL_TYPES }}
5657

5758
- name: Install just
5859
uses: taiki-e/[email protected]
@@ -62,7 +63,7 @@ jobs:
6263
- name: Install cargo-check-external-types
6364
uses: taiki-e/[email protected]
6465
with:
65-
tool: cargo-check-external-types@0.1.10
66+
tool: cargo-check-external-types
6667

6768
- name: check external types
68-
run: just check-external-types-all +nightly-2023-10-10
69+
run: just check-external-types-all +${{ vars.RUST_VERSION_EXTERNAL_TYPES }}

0 commit comments

Comments
 (0)