Skip to content

Commit

Permalink
Use nightly toolchain for cargo fmt in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Sep 9, 2021
1 parent 8d6f5db commit b49343a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
target/
key: ${{ runner.os }}-cargolint-${{ hashFiles('Cargo.lock') }}
- name: rustfmt
run: cargo fmt --all -- --check
run: cargo +nightly fmt --all -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit b49343a

Please sign in to comment.