Skip to content

Commit

Permalink
use today's nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
David Laban authored and alastairreid committed May 11, 2021
1 parent c67e4a1 commit a36c558
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
name: Format
runs-on: ubuntu-latest
steps:
- name: Install correct nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-05-07
override: true
components: rustfmt
- uses: actions/checkout@v2
- name: Format Rust code
run: git ls-files | grep 'rs$' | xargs rustfmt +nightly --check
run: git ls-files | grep 'rs$' | xargs rustfmt +nightly-2021-05-07 --check

0 comments on commit a36c558

Please sign in to comment.