infra/.forgejo/workflows/check.yml
2023-11-09 20:10:40 +01:00

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