mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 17:45:10 +02:00
chore(ci): Ensure rustfmt is available
This commit is contained in:
@@ -39,6 +39,7 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
components: rustfmt
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Build
|
||||
run: cargo test --no-run --workspace --all-features
|
||||
|
||||
@@ -31,6 +31,7 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
components: rustfmt
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Default features
|
||||
run: cargo test --workspace
|
||||
@@ -48,6 +49,7 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Update dependencues
|
||||
run: cargo update
|
||||
|
||||
Reference in New Issue
Block a user