-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci.yml
More file actions
26 lines (24 loc) · 787 Bytes
/
Copy pathci.yml
File metadata and controls
26 lines (24 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copy this into a consuming repo as .github/workflows/ci.yml.
#
# Reuses rust-checks.yml as a CI matrix. `nix flake check` is on by default;
# enable cargo test / clippy / fmt as needed. This is also the workflow the
# release pipeline gates on — its `name:` must match `workflows:` in the
# release caller's workflow_run trigger.
name: Build and Test with Cargo
on:
push:
branches: [main]
pull_request:
jobs:
checks:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
uses: manic-systems/workflows/.github/workflows/rust-checks.yml@main
with:
os: ${{ matrix.os }}
# flake-check is on by default; opt in to the cargo checks you want:
# test: true
# clippy: true
# fmt: true