Skip to content

Commit

Permalink
chore(ci): Ensure rustfmt is available
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jan 3, 2024
1 parent 77c2bb3 commit e7dbec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/rust-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e7dbec0

Please sign in to comment.