Skip to content

Commit

Permalink
Merge branch 'reorg_new' into reorg_improved
Browse files Browse the repository at this point in the history
  • Loading branch information
Arindam2407 authored Feb 8, 2024
2 parents 9cb3ab5 + 51d367a commit aaab3e2
Show file tree
Hide file tree
Showing 196 changed files with 3,931 additions and 2,026 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-02-03
- name: Install mdbook
run: |
mkdir mdbook
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly

with:
toolchain: nightly-2024-02-03
- name: cargo update
# Remove first line that always just says "Updating crates.io index"
run: cargo update --color never 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
Expand Down
24 changes: 21 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@clippy
with:
toolchain: nightly-2024-02-03
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -39,14 +41,27 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@clippy
with:
toolchain: nightly-2024-02-03
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run:
cargo clippy --workspace --lib --examples --tests --benches --all-features
- run: cargo clippy --workspace --lib --examples --tests --benches --all-features
env:
RUSTFLAGS: -D warnings

crate-checks:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo hack check

msrv:
name: MSRV / ${{ matrix.network }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -77,6 +92,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-02-03
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -96,6 +113,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-02-03
components: rustfmt
- run: cargo fmt --all --check

Expand All @@ -113,7 +131,7 @@ jobs:
name: lint success
runs-on: ubuntu-latest
if: always()
needs: [clippy-binaries, clippy, docs, fmt, grafana]
needs: [clippy-binaries, clippy, crate-checks, docs, fmt, grafana]
timeout-minutes: 30
steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-02-03
- uses: taiki-e/install-action@cargo-udeps
- name: Check for unused dependencies
run: cargo udeps --lib --features "jemalloc,${{ matrix.network }}"
Expand Down
Loading

0 comments on commit aaab3e2

Please sign in to comment.