Skip to content

Commit

Permalink
fix: update ci to stable rust and resolve clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaMasych committed Nov 26, 2024
1 parent bb2e237 commit 56913ba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true

- name: Build Rust Documentation
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true

- name: Run cargo check
Expand Down Expand Up @@ -75,11 +75,11 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-build-
- name: Install nightly toolchain
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable

- name: Install Nextest
uses: taiki-e/install-action@v2
Expand Down Expand Up @@ -112,11 +112,11 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-build-
- name: Install nightly toolchain
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true
components: rustfmt, clippy

Expand Down
4 changes: 2 additions & 2 deletions tests/artifacts_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ pub fn gen_factorial() {

// Provide initial values.
let mut pw = PartialWitness::new();
pw.set_target(initial_a, F::ZERO);
pw.set_target(initial_b, F::ONE);
pw.set_target(initial_a, F::ZERO).unwrap();
pw.set_target(initial_b, F::ONE).unwrap();

let data = builder.build::<C>();

Expand Down

0 comments on commit 56913ba

Please sign in to comment.