do not run macos every time

This commit is contained in:
Daniel Winkler 2025-08-26 12:07:33 +10:00
commit 782fd3037f
3 changed files with 24 additions and 2 deletions

19
.github/workflows/check_macos.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: "Test template MacOS"
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 3 * * 0'
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build ./templates/n
- run: nix flake check ./templates/n