summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/rustfmt.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/rustfmt.yml')
-rw-r--r--.github/workflows/rustfmt.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml
index c381337e5a..f8100d585f 100644
--- a/.github/workflows/rustfmt.yml
+++ b/.github/workflows/rustfmt.yml
@@ -16,10 +16,11 @@ jobs:
uses: actions/checkout@v2
- name: Install nightly Rust
- uses: ATiltedTree/setup-rust@v1.0.4
+ uses: actions-rs/toolchain@v1.0.6
with:
- rust-version: nightly
+ toolchain: nightly
components: rustfmt
+ default: true
- name: Check formatting
run: |