ci(pre-commit): Do not spellcheck past commit messages #523
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: Build | |
on: [push, pull_request] | |
jobs: | |
cargo-toml-features: | |
name: Generate Feature Combinations | |
runs-on: ubuntu-latest | |
outputs: | |
feature-combinations: ${{ steps.cargo-toml-features.outputs.feature-combinations }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Determine Cargo Features | |
id: cargo-toml-features | |
uses: Holzhaus/cargo-toml-features-action@3afa751aae4071b2d1ca1c5fa42528a351c995f4 | |
build: | |
needs: cargo-toml-features | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
features: ${{ fromJson(needs.cargo-toml-features.outputs.feature-combinations) }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Print Rust version | |
run: rustc -vV | |
- name: Run tests | |
run: cargo test --no-default-features --features "${{ join(matrix.features, ',') }}" --verbose | |
- name: Run bench | |
run: cargo bench --no-default-features --features "${{ join(matrix.features, ',') }}" --verbose | |
- name: Run doc | |
run: cargo doc --no-default-features --features "${{ join(matrix.features, ',') }}" --verbose |