infra/.forgejo/workflows/check.yml
teutat3s ff4b5a0391
Some checks failed
Flake checks / Check (push) Failing after 56s
wip: try to install cachix flake via profiles
2023-11-07 00:50:29 +01:00

20 lines
547 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: Install cachix flake
run: |
nix profile install --accept-flake-config nixpkgs#cachix
- name: Prepare cachix
uses: https://github.com/cachix/cachix-action@v12
with:
name: pub-solar
- name: Run flake checks
run: |
nix --print-build-logs --verbose --accept-flake-config flake check