aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-07-28 11:04:02 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-07-28 11:04:02 +0300
commit73be5b2ba1a95e6c9e0a9f856dcc4cde2157fbeb (patch)
treebbfe5e5960df802604d0463a65aba02587d1c01f /.github
parentaf904d23acc7980fbf3aedf173dc96af1dd580b9 (diff)
downloadniri-73be5b2ba1a95e6c9e0a9f856dcc4cde2157fbeb.tar.gz
niri-73be5b2ba1a95e6c9e0a9f856dcc4cde2157fbeb.tar.bz2
niri-73be5b2ba1a95e6c9e0a9f856dcc4cde2157fbeb.zip
CI: Switch leftover action to dtolnay/rust-toolchain
Missed this I guess.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 676ada87..6d11515f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -153,11 +153,9 @@ jobs:
with:
show-progress: false
- - name: Install Rust
- run: |
- rustup set auto-self-update check-only
- rustup toolchain install nightly --profile minimal --component rustfmt
- rustup override set nightly
+ - uses: dtolnay/rust-toolchain@nightly
+ with:
+ components: rustfmt
- name: Run rustfmt
run: cargo fmt --all -- --check