name: CI
on:
push:
branches:
pull_request:
branches:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build & Run
run: |
cargo fmt --all -- --check
cargo clippy -- -D warnings
cargo test
cargo run --release -- README.md