Skip to content

Update hashbrown requirement from 0.14.3 to 0.15.1 #88

Update hashbrown requirement from 0.14.3 to 0.15.1

Update hashbrown requirement from 0.14.3 to 0.15.1 #88

Workflow file for this run

name: CI
env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: stable
RUST_TOOLCHAIN_NIGHTLY: nightly
RUST_TOOLCHAIN_MSRV: 1.75.0
RUST_TOOLCHAIN_BETA: beta
on:
push:
branches:
- main
pull_request: {}
jobs:
check-msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_MSRV}}
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: check
run: |
cargo check --all --all-targets --all-features
- name: clippy
run: |
cargo clippy --all --all-targets --all-features
- name: rustfmt
run: |
cargo fmt --all -- --check
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: check
run: |
cargo check --all --all-targets --all-features
- name: clippy
run: |
cargo clippy --all --all-targets --all-features
- name: rustfmt
run: |
cargo fmt --all -- --check
check-docs:
runs-on: ubuntu-latest
needs: [check, check-msrv]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- uses: Swatinem/rust-cache@v2
- name: cargo doc
env:
RUSTDOCFLAGS: "-D rustdoc::broken_intra_doc_links"
run: cargo doc --all-features --no-deps --workspace
test-msrv:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_MSRV}}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --workspace
test-beta:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_BETA}}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --workspace
test:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --workspace
test-windows-msrv:
needs: [check, check-msrv]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_MSRV}}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --workspace
test-windows-beta:
needs: [check, check-msrv]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_BETA}}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --workspace
test-windows:
needs: [check, check-msrv]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --workspace
test-macos-msrv:
needs: [check, check-msrv]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_MSRV}}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --workspace
test-macos-beta:
needs: [check, check-msrv]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_MSRV}}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --workspace
test-macos:
needs: [check, check-msrv]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --workspace
test-docs:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --doc --all-features --workspace
test-examples-beta:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_BETA}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --all-features --examples --workspace
test-examples-msrv:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_MSRV}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --all-features --examples --workspace
test-examples:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --all-features --examples --workspace
test-examples-windows-beta:
needs: [check, check-msrv]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_BETA}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --all-features --examples --workspace
test-examples-windows-msrv:
needs: [check, check-msrv]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_MSRV}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --all-features --examples --workspace
test-examples-windows:
needs: [check, check-msrv]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --all-features --examples --workspace
test-examples-macos-beta:
needs: [check, check-msrv]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_BETA}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --all-features --examples --workspace
test-examples-macos-msrv:
needs: [check, check-msrv]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN_MSRV}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --all-features --examples --workspace
test-examples-macos:
needs: [check, check-msrv]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: cargo test --all-features --examples --workspace
cargo-hack:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- name: install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: cargo hack check
run: cargo hack check --each-feature --no-dev-deps --workspace
dependencies-are-sorted:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- uses: Swatinem/rust-cache@v2
- name: Install cargo-sort
run: |
cargo install cargo-sort
- name: Check dependency tables
working-directory: .
run: |
cargo sort --workspace --grouped --check
cargo-deny:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
cargo-fuzz:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: ${{env.RUST_TOOLCHAIN_NIGHTLY}}
- name: Install cargo-fuzz
run: |
cargo install cargo-fuzz
- name: cargo fuzz check
run: |
cargo fuzz run fuzz_employee_db -- -max_len=131072 -max_total_time=30
semver-checks:
needs: [check, check-msrv]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
rust-toolchain: ${{env.RUST_TOOLCHAIN}}