Skip to content

Commit

Permalink
Modernize github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aschaeffer committed Apr 28, 2024
1 parent 232fd6d commit 6dc16b5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,8 @@ jobs:
- name: VCS Checkout
uses: actions/checkout@v4
- name: Install rust (latest stable)
uses: actions-rs/toolchain@v1
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: "fmt"
args: "--all -- --check"
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1

0 comments on commit 6dc16b5

Please sign in to comment.