Skip to content

audit: add audit rules #354

audit: add audit rules

audit: add audit rules #354

Workflow file for this run

name: build
on:
pull_request:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: 'jamie-desktop'
path: 'nixosConfigurations."jamie-desktop".config.system.build.toplevel'
- name: 'rpi'
path: 'nixosConfigurations."rpi".config.system.build.toplevel'
- name: 'jamie-hyperv'
path: 'nixosConfigurations."jamie-hyperv".config.system.build.toplevel'
- name: 'alfred'
path: 'nixosConfigurations."alfred".config.system.build.toplevel'
- name: 'jamie@alfred'
path: 'homeConfigurations."jamie@alfred".activationPackage'
- name: 'jamie@rpi'
path: 'homeConfigurations."jamie@rpi".activationPackage'
- name: 'jamie@generic'
path: 'homeConfigurations."jamie@generic".activationPackage'
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Setup QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3
- name: Install nix
uses: DeterminateSystems/nix-installer-action@8cdf194da984e4f12b2f8c36d1fa107c1dd67f5c # v11
with:
extra-conf: |
extra-platforms = aarch64-linux i686-linux
- name: Use cache
uses: DeterminateSystems/magic-nix-cache-action@87e8236f46702ab0ce5a058b605a173ec88d618e # v6
- name: Build ${{ matrix.name }}
run: nix build ".#"${{ matrix.path }}