Skip to content

Merge pull request #2 from tomchuk/release-plz-2026-05-31T17-53-55Z #8

Merge pull request #2 from tomchuk/release-plz-2026-05-31T17-53-55Z

Merge pull request #2 from tomchuk/release-plz-2026-05-31T17-53-55Z #8

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache cargo registry and build artefacts
uses: actions/cache@v5
with:
path: |
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Build
run: cargo build --all-targets
- name: Test
run: cargo test
# Lint all targets (incl. tests and examples) so pedantic is enforced
# everywhere. Default features are used because the `e2e` feature gates
# out the mock pipeline tests, which we want linted.
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Format check
run: cargo fmt --check