mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 09:01:04 -05:00
chore(ci): Ensure rustfmt is available
This commit is contained in:
parent
2361394247
commit
a7762787d8
2 changed files with 3 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -39,6 +39,7 @@ jobs:
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
|
components: rustfmt
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo test --no-run --workspace --all-features
|
run: cargo test --no-run --workspace --all-features
|
||||||
|
|
2
.github/workflows/rust-next.yml
vendored
2
.github/workflows/rust-next.yml
vendored
|
@ -31,6 +31,7 @@ jobs:
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
|
components: rustfmt
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Default features
|
- name: Default features
|
||||||
run: cargo test --workspace
|
run: cargo test --workspace
|
||||||
|
@ -48,6 +49,7 @@ jobs:
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
components: rustfmt
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Update dependencues
|
- name: Update dependencues
|
||||||
run: cargo update
|
run: cargo update
|
||||||
|
|
Loading…
Reference in a new issue