forked from pub-solar/infra
18 lines
486 B
YAML
18 lines
486 B
YAML
name: Flake checks
|
|
on: [push]
|
|
|
|
jobs:
|
|
Check:
|
|
runs-on: nix-flakes
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: https://code.forgejo.org/actions/checkout@v4
|
|
- name: Prepare cachix
|
|
uses: https://github.com/cachix/cachix-action@v12
|
|
with:
|
|
name: pub-solar
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
- name: Run flake checks
|
|
run: |
|
|
nix --print-build-logs --verbose --accept-flake-config flake check
|