Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ jobs:
done
exit $missing

# ubuntu-latest ships rustup preinstalled. Any rustup/cargo/rustc
# invocation below auto-installs whatever rust-toolchain.toml pins,
# so the version lives in exactly one place instead of being
# duplicated into this workflow.
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32v1-none
components: rustfmt, clippy
run: |
rustup target add wasm32v1-none
rustup component add rustfmt clippy

- name: Cache cargo
uses: Swatinem/rust-cache@v2
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "1.96.0"
targets = ["wasm32v1-none"]
components = ["rustfmt", "clippy"]
Loading