chore(ci): Ensure rustfmt is available

This commit is contained in:
Ed Page
2024-01-03 08:29:34 -06:00
parent 2361394247
commit a7762787d8
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -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
+2
View File
@@ -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