Skip to content

Commit

Permalink
Merge pull request #411 from Chia-Network/stable-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity authored Feb 26, 2024
2 parents 5d77229 + dde6811 commit ebc5fa6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build-crate-and-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,10 @@ jobs:
with:
components: rustfmt, clippy

- name: Set up rust (nightly)
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy

- name: fmt (nightly)
run: cargo +nightly fmt -- --files-with-diff --check
- name: clippy (nightly)
run: cargo +nightly clippy
- name: fmt
run: cargo fmt -- --files-with-diff --check
- name: clippy
run: cargo clippy
- name: tests
run: cargo test && cargo test --release
- name: build
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,10 @@ jobs:
fetch-depth: 1

- name: Install rust
uses: dtolnay/rust-toolchain@nightly
uses: dtolnay/rust-toolchain
with:
components: rustfmt, clippy

- name: Set rustup override
run: rustup override set nightly

- name: fmt
run: |
cargo fmt --all -- --files-with-diff --check
Expand All @@ -302,13 +299,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/rust-toolchain
with:
components: clippy

- name: Set rustup override
run: rustup override set nightly

- name: workspace
run: |
cargo clippy --workspace --all-features -- -Dwarnings
Expand Down

0 comments on commit ebc5fa6

Please sign in to comment.