Enrich README
with badges, benches etc.
#34
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 checks | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Static analysis and software tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install pre-commit to venv | |
run: pip install pre-commit | |
- name: Run pre-commit hooks | |
run: pre-commit run --all-files | |
- name: Run Clippy | |
run: cargo clippy -- -D warnings | |
- name: Run Rustfmt | |
run: cargo fmt -- --check | |
- name: Run tests | |
run: cargo test --verbose |