Bump strum from 0.24.1 to 0.26.1 #311
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI PR | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
test: | |
name: Test Rust ${{ matrix.rust }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { rust: stable, os: ubuntu-latest } | |
#- { rust: stable, os: macos-latest } | |
#- { rust: stable, os: windows-latest } | |
#- { rust: stable-i686-msvc, os: windows-latest } | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: ${{ matrix.rust }} | |
- run: cargo test --verbose --workspace | |
- run: cargo test --verbose --workspace --all-features | |
- run: cargo test --verbose --workspace --no-default-features | |
- run: cargo test --verbose --workspace --no-default-features -F benchmark | |
clippy: | |
name: Lint with clippy | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -Dwarnings | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
components: clippy | |
- run: cargo clippy --workspace --all-targets --verbose | |
- run: cargo clippy --workspace --all-targets --verbose --no-default-features | |
- run: cargo clippy --workspace --all-targets --verbose --all-features | |
- run: cargo clippy --workspace --all-targets --verbose --no-default-features -F benchmark | |
rustfmt: | |
name: Verify code formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
components: rustfmt | |
- run: cargo fmt --all -- --check |