Skip to content

Style output of the command #32

Style output of the command

Style output of the command #32

Workflow file for this run

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