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 6dc16b5 commit 5adeaa6
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -22,11 +22,6 @@ jobs:
name: Verify code formatting
runs-on: ubuntu-latest
steps:
- name: VCS Checkout
uses: actions/checkout@v4
- name: Install rust (latest stable)
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: actions-rust-lang/rustfmt@v1
1 change: 1 addition & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[toolchain]
channel = "stable"
components = [ "rustfmt", "clippy" ]
targets = [ "wasm32-unknown-unknown" ]

0 comments on commit 5adeaa6

Please sign in to comment.