name: CI
# Cancel workflow if there is a new change to the branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
on:
workflow_dispatch:
merge_group:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
ci:
name: CI checks
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- run: cargo fmt --check
- run: cargo clippy --all-features --all-targets -- --deny warnings
- run: cargo test --all-features