interplane.Get Omega
Read in your language

pi-register

aien-dev/pi-register

Brought by drakestapleton

branch main Branches Tags History

pi-register / .github / workflows / ci.yml

25 lines · 858 bytes Raw Blame History
1# CI: build and run the unit tests with the committed Cargo.lock (--locked refuses any silent
2# dependency drift) on a GitHub-hosted runner, with pinned actions and a read-only token.
3# The tests need no systemd access; `pi-register check` against a live machine stays local.
4name: CI
5on:
6 pull_request:
7 push:
8 branches: [main]
9permissions:
10 contents: read
11jobs:
12 test:
13 runs-on: ubuntu-latest
14 timeout-minutes: 30
15 steps:
16 - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
17 with:
18 persist-credentials: false
19 - uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
20 - name: Toolchain record
21 run: rustc --version && cargo --version
22 - name: Build
23 run: cargo build --locked --all-targets
24 - name: Test
25 run: cargo test --locked