Skip to content

Commit

Permalink
Merge pull request #26 from huitseeker/ci-dtolnay
Browse files Browse the repository at this point in the history
ci: switch to dtolnay/rust-toolchain
  • Loading branch information
huitseeker authored Dec 22, 2023
2 parents 1d3e219 + a959aa2 commit e464fed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@ jobs:
uses: Swatinem/rust-cache@v1

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: rustfmt, clippy
target: wasm32-unknown-unknown
uses: dtolnay/rust-toolchain@stable

- name: Run cargo fmt
uses: actions-rs/cargo@v1
Expand Down
5 changes: 5 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[toolchain]
# The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy.
profile = "default"
channel = "stable"
targets = [ "wasm32-unknown-unknown" ]

0 comments on commit e464fed

Please sign in to comment.