1
0
Fork 0
forked from pub-solar/infra
pub-solar-infra-new/.forgejo/workflows/check.yml

23 lines
624 B
YAML
Raw Normal View History

name: Flake checks
on: [push]
jobs:
Check:
2023-11-06 23:12:26 +00:00
runs-on: ubuntu-latest
env:
USER: root
steps:
- name: Check out repository code
uses: https://code.forgejo.org/actions/checkout@v4
2023-11-06 23:12:26 +00:00
- name: Install sudo
run: "apt update && apt install -y sudo"
- name: Install nix
uses: https://github.com/cachix/install-nix-action@v23
- 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