infra/.forgejo/workflows/check.yml

18 lines
481 B
YAML
Raw Normal View History

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
2023-11-06 23:59:42 +00:00
installCommand: nix shell nixpkgs#cachix
- name: Run flake checks
run: |
nix --print-build-logs --verbose --accept-flake-config flake check