Skip to content

Commit d1a0f5b

Browse files
chore(github): add CODEOWNERS
Lands the CODEOWNERS file required by Plan §5.10 plus the CI fixes needed to run the workflow for the first time. CODEOWNERS: - Default fallback owner @UnbreakableMJ — every change requires the maintainer's review during the single-developer phase. CI fixes: - Drop ghcr.io/cachyos/cachyos:latest container from all three jobs; the image is not publicly available. Plain ubuntu-latest runners are sufficient for M0 lint/build/test (no paru/snapper invocations yet). Reinstating an Arch-family runner is M1 work, gated on a CachyOS image landing on GHCR or a custom image we publish. - Replace `cargo install <tool> --locked` patterns with taiki-e/install-action@v2. cargo-machete v0.9 transitively requires rustc 1.86, which conflicts with our pinned 1.85 toolchain. Pre-built binaries dodge the build-time MSRV of the tooling entirely while keeping the project's own MSRV at 1.85. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c92c4df commit d1a0f5b

3 files changed

Lines changed: 21 additions & 10 deletions

File tree

.github/CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Pearlite CODEOWNERS — required reviewers per Plan §5.10.
2+
# Format: <pattern> <space-separated owners>
3+
# Patterns follow .gitignore syntax; later matches win.
4+
5+
# Default: every change requires the maintainer's review.
6+
* @UnbreakableMJ

.github/workflows/ci.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,49 +10,54 @@ env:
1010
CARGO_TERM_COLOR: always
1111
RUST_BACKTRACE: 1
1212

13+
# TODO(M1): each job should run inside a CachyOS container once the image is
14+
# published to GHCR (or we publish a custom one). M0 lint/build/test only
15+
# exercises Rust + POSIX tooling, so plain ubuntu-latest is sufficient and
16+
# unblocks the first PR.
17+
1318
jobs:
1419
lint:
1520
name: T1 — Lint
1621
runs-on: ubuntu-latest
17-
container: ghcr.io/cachyos/cachyos:latest
1822
steps:
1923
- uses: actions/checkout@v4
2024
- uses: dtolnay/rust-toolchain@1.85
2125
with:
2226
components: rustfmt, clippy
2327
- uses: extractions/setup-just@v3
24-
- name: Install cargo-machete
25-
run: cargo install cargo-machete --locked
28+
- uses: taiki-e/install-action@v2
29+
with:
30+
tool: cargo-machete
2631
- run: just check
2732
- run: just spdx
2833
- run: just unused
2934

3035
test:
3136
name: T2 — Unit
3237
runs-on: ubuntu-latest
33-
container: ghcr.io/cachyos/cachyos:latest
3438
needs: [lint]
3539
steps:
3640
- uses: actions/checkout@v4
3741
- uses: dtolnay/rust-toolchain@1.85
3842
- uses: Swatinem/rust-cache@v2
3943
- uses: extractions/setup-just@v3
40-
- name: Install cargo-nextest
41-
run: cargo install cargo-nextest --locked
44+
- uses: taiki-e/install-action@v2
45+
with:
46+
tool: cargo-nextest
4247
- run: just test
4348
- run: just test-doc
4449

4550
audit:
4651
name: T3 — Adapter / audit
4752
runs-on: ubuntu-latest
48-
container: ghcr.io/cachyos/cachyos:latest
4953
needs: [test]
5054
steps:
5155
- uses: actions/checkout@v4
5256
- uses: dtolnay/rust-toolchain@1.85
5357
- uses: Swatinem/rust-cache@v2
5458
- uses: extractions/setup-just@v3
55-
- name: Install cargo-audit + cargo-deny
56-
run: cargo install cargo-audit cargo-deny --locked
59+
- uses: taiki-e/install-action@v2
60+
with:
61+
tool: cargo-audit,cargo-deny
5762
- run: just audit
5863
- run: just compliance

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
release:
1313
name: Build, sign, publish
1414
runs-on: ubuntu-latest
15-
container: ghcr.io/cachyos/cachyos:latest
15+
# TODO(M6): switch to a CachyOS container once the image is published.
1616
permissions:
1717
contents: write
1818
steps:

0 commit comments

Comments
 (0)