Skip to content

chore(deps): lock file maintenance #96

chore(deps): lock file maintenance

chore(deps): lock file maintenance #96

name: nix flake check
on:
push:
paths:
- "**.nix"
- "**.lock"
- ".github/workflows/check.yaml"
- ".github/actions/**/*"
permissions:
contents: read
jobs:
check-nixfiles-work:
name: nixfiles-work (aarch64-darwin)
runs-on: macos-latest
steps:
- name: Checkout nixfiles
uses: actions/checkout@v7
with:
ref: ${{ github.ref_name }}
path: nixfiles
persist-credentials: false
submodules: recursive
- name: Checkout nixfiles-work
uses: actions/checkout@v7
with:
repository: kid/nixfiles-work
ref: main
token: ${{ secrets.NIXFILES_WORK_REPO_TOKEN || secrets.GITHUB_TOKEN }}
path: nixfiles-work
persist-credentials: false
submodules: recursive
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v17
with:
name: kidibox
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Check nixfiles-work with this nixfiles branch
working-directory: nixfiles-work
run: |
nix flake check \
--no-write-lock-file \
--override-input nixfiles "path:${GITHUB_WORKSPACE}/nixfiles"