Skip to content

Commit 9d33f54

Browse files
committed
ci: update ci
1 parent 7554bc1 commit 9d33f54

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

Diff for: .github/workflows/tests.yml

+8-18
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,14 @@ jobs:
2121
- name: Install rocksdb
2222
run: sudo apt-get update && sudo apt-get install -y librocksdb-dev libclang-dev llvm clang
2323
- name: Install Rust
24-
uses: actions-rs/toolchain@v1
25-
with:
26-
profile: minimal
27-
toolchain: stable
28-
override: true
29-
components: rustfmt, clippy
24+
run: rustup toolchain install stable --profile minimal -c rustfmt,clippy
3025
- uses: Swatinem/rust-cache@v2
31-
- name: Build with arkworks
32-
run: cargo build --no-default-features --release --verbose --features arkworks,rocksdb
3326
- name: Test with arkworks
3427
run: cargo test --no-default-features --release --verbose --features arkworks,rocksdb
3528
- name: Lint with arkworks
36-
run: cargo clippy --no-default-features --release --features arkworks,rocksdb
29+
uses: crusty-pie/clippy@v1
30+
with:
31+
args: --release --no-default-features --features arkworks,rocksdb
3732

3833
test-blstrs:
3934
runs-on: ubuntu-latest
@@ -44,16 +39,11 @@ jobs:
4439
- name: Install rocksdb
4540
run: sudo apt-get update && sudo apt-get install -y librocksdb-dev libclang-dev llvm clang
4641
- name: Install Rust
47-
uses: actions-rs/toolchain@v1
48-
with:
49-
profile: minimal
50-
toolchain: stable
51-
override: true
52-
components: rustfmt, clippy
42+
run: rustup toolchain install stable --profile minimal -c rustfmt,clippy
5343
- uses: Swatinem/rust-cache@v2
54-
- name: Build with blstrs
55-
run: cargo build --no-default-features --release --verbose --features blstrs,rocksdb
5644
- name: Test with blstrs
5745
run: cargo test --no-default-features --release --verbose --features blstrs,rocksdb
5846
- name: Lint with blstrs
59-
run: cargo clippy --no-default-features --release --features blstrs,rocksdb
47+
uses: crusty-pie/clippy@v1
48+
with:
49+
args: --release --no-default-features --features blstrs,rocksdb

0 commit comments

Comments
 (0)