Core Architecture & Invariant CI / validate (pull_request) Successful in 11s
- Remove container: nixery.dev/... from .gitea/workflows/ci.yaml so homelab-runner (ubuntu-latest:host,nix:host) executes nix flake check directly without requiring /var/run/docker.sock.
26 lines
666 B
YAML
26 lines
666 B
YAML
name: Core Architecture & Invariant CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Configure Git Safe Directory & Nix Flakes
|
|
run: |
|
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
|
mkdir -p ~/.config/nix
|
|
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
|
echo "build-users-group =" >> ~/.config/nix/nix.conf
|
|
|
|
- name: Run Architecture & Security Invariant Checks
|
|
run: |
|
|
nix flake check
|