infra/.forgejo/workflows/check.yml

18 lines
494 B
YAML
Raw Normal View History

name: Flake checks
on: [pull_request]
jobs:
Check:
2023-11-09 03:19:26 +00:00
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
2023-11-09 03:19:26 +00:00
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Run flake checks
run: |
nix --print-build-logs --verbose --accept-flake-config flake check