Skip to content

health: Recognize om.health from flake.nix #407

health: Recognize om.health from flake.nix

health: Recognize om.health from flake.nix #407

Workflow file for this run

name: "CI"
on:
push:
branches:
- main
pull_request:
jobs:
checks:
runs-on: ${{ matrix.system }}
permissions:
contents: read
strategy:
matrix:
system: [ x86_64-linux, aarch64-darwin ]
steps:
- uses: actions/checkout@v4
- name: Build
run: |
# Prep systems list
# https://github.com/srid/nixci/issues/83
mkdir ~/systems
echo '{ outputs = _: {}; }' > ~/systems/flake.nix
echo '[ "${{ matrix.system }}" ]' > ~/systems/default.nix
# Build all flake outputs
nixci \
--extra-access-tokens ${{ secrets.GITHUB_TOKEN }} \
build --systems "path:$HOME/systems"
- name: Run
run: |
nix run .#ci