Skip to content

Bump hashbrown from 0.15.0 to 0.15.2 in the cargo group across 1 directory #91

Bump hashbrown from 0.15.0 to 0.15.2 in the cargo group across 1 directory

Bump hashbrown from 0.15.0 to 0.15.2 in the cargo group across 1 directory #91

Workflow file for this run

name: Check and Lint
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Cargo check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: rustup update stable && rustup default stable
- run: cargo --version --verbose && rustc --version
- run: cargo check
- run: cargo check --all-features
clippy:
name: Lint with Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: rustup update stable && rustup default stable
- run: rustup component add clippy
- run: cargo --version --verbose && cargo clippy -- --version
- run: cargo clippy --all-features -- -D warnings
format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: rustup update stable && rustup default stable
- run: rustup component add rustfmt
- run: cargo --version --verbose && cargo fmt -- --version
- run: cargo fmt --all -- --check
doc:
name: Lint Documentation
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -D warnings
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: cargo --version --verbose && rustc --version
- name: Check documentation
run: cargo doc --no-deps --all-features --document-private-items
cargo-deny:
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans licenses sources
# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check ${{ matrix.checks }}