mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 02:20:58 -05:00
chore(gh): Fix toolchain versions
This commit is contained in:
parent
7f9602fbc4
commit
28002901c4
1 changed files with 7 additions and 0 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -28,6 +28,7 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Default features
|
||||
run: cargo check --workspace --all-targets
|
||||
|
@ -55,6 +56,7 @@ jobs:
|
|||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
profile: minimal
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Default features
|
||||
run: cargo test --workspace
|
||||
|
@ -74,6 +76,7 @@ jobs:
|
|||
with:
|
||||
toolchain: 1.53.0 # MSRV
|
||||
profile: minimal
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Default features
|
||||
run: cargo check --workspace --all-targets
|
||||
|
@ -93,6 +96,7 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Check documentation
|
||||
env:
|
||||
|
@ -109,6 +113,7 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
override: true
|
||||
components: rustfmt
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Check formatting
|
||||
|
@ -124,6 +129,7 @@ jobs:
|
|||
with:
|
||||
toolchain: 1.53.0 # MSRV
|
||||
profile: minimal
|
||||
override: true
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
|
@ -143,6 +149,7 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
override: true
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
|
|
Loading…
Reference in a new issue