Skip to content

Commit

Permalink
ci: Switch fmt to nightly toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
stoically committed Oct 24, 2022
1 parent b79d04f commit 891f472
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt

- name: fmt
run: cargo fmt --all -- --check
run: cargo +nightly fmt --all -- --check

- uses: dtolnay/rust-toolchain@stable
- name: build
run: cargo build

Expand Down

0 comments on commit 891f472

Please sign in to comment.