mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -05:00
do not run macos every time
This commit is contained in:
parent
3324b8b267
commit
782fd3037f
3 changed files with 24 additions and 2 deletions
19
.github/workflows/check_macos.yml
vendored
Normal file
19
.github/workflows/check_macos.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue