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
6 changes: 3 additions & 3 deletions .github/workflows/bench_pr_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
# Set the Rust env vars
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: boa-dev/criterion-compare-action@v3
with:
Expand All @@ -80,7 +80,7 @@ jobs:
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
# Set the Rust env vars
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: boa-dev/criterion-compare-action@v3
with:
Expand All @@ -107,7 +107,7 @@ jobs:
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
# Set the Rust env vars
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: boa-dev/criterion-compare-action@v3
with:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ jobs:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
- name: Check the minroot example compiles under the abomonate feature
run: cargo check --profile dev-ci --features "abomonate" --examples
run: cargo check --profile dev-ci --features "abomonate" --examples
- name: Check benches compile under the flamegraph feature
run: cargo check --profile dev-ci --features "flamegraph" --benches
- name: Build, with benches & examples
run: cargo build --profile dev-ci --benches --examples
- name: Linux Tests in parallel, with nextest profile ci and cargo profile dev-ci
Expand Down Expand Up @@ -79,8 +80,8 @@ jobs:
env:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
Expand All @@ -94,8 +95,6 @@ jobs:
args: --all -- --check
- name: Check clippy warnings
run: cargo xclippy -D warnings
- name: Check benches compile under the flamegraph feature
run: cargo check --profile dev-ci --features "flamegraph" --benches
- name: Doctests
run: cargo test --doc --workspace

Expand Down
1 change: 0 additions & 1 deletion rust-toolchain

This file was deleted.

6 changes: 6 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[toolchain]
# The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy.
profile = "default"
channel = "1.73"
targets = [ "wasm32-unknown-unknown" ]