infra/.forgejo/workflows/check.yml
teutat3s 72badc7283
All checks were successful
Flake checks / Check (pull_request) Successful in 17m26s
ci: run flake checks only on pull requests
2023-11-15 18:47:00 +00:00

18 lines
494 B
YAML

name: Flake checks
on: [pull_request]
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