Try actions-rust-lang/setup-rust-toolchain for possibly faster test b… (#364)
* Try actions-rust-lang/setup-rust-toolchain for possibly faster test builds * Use toolchain from toml file * Use the same action for the build job
This commit is contained in:
parent
5b04b2a360
commit
d6c4d9e943
2 changed files with 2 additions and 6 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -15,9 +15,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Build default
|
||||
run: cargo build
|
||||
- name: Build non-zk # check without the zk feature enabled
|
||||
|
|
|
|||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -15,8 +15,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Run tests
|
||||
run: cargo test --release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue