Skip to content

Commit b07ac1a

Browse files
committed
github actions: Use stable toolchain to build typos-cli
We are really just interested in the results of the tool, which will likely be the same regardless of which compiler version it was compiled with, so just build typos-cli with the default toolchain. Switch to using actions-rust-lang/setup-rust-toolchain@v1 because we use that action in our other projects. Signed-off-by: mulhern <amulhern@redhat.com>
1 parent 798670f commit b07ac1a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@ jobs:
4242
- uses: actions/checkout@v6
4343
with:
4444
persist-credentials: false
45-
- uses: dtolnay/rust-toolchain@master
45+
- uses: actions-rust-lang/setup-rust-toolchain@v1
4646
with:
4747
components: cargo
48-
toolchain: 1.95.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
4948
- uses: baptiste0928/cargo-install@v3
5049
with:
5150
crate: typos-cli

0 commit comments

Comments
 (0)