nixos/.gitea/workflows/flake.yaml
Jake Hillion 5350581676
All checks were successful
flake / flake (push) Successful in 1m38s
gitea.actions: actually check formatting
2024-04-23 20:23:54 +01:00

27 lines
554 B
YAML

name: flake
on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Prepare for Nix installation
run: |
apt-get update
apt-get install -y sudo
- uses: cachix/install-nix-action@v26
- name: lint
run: |
nix fmt
git diff --exit-code
- name: flake check
run: nix flake check --all-systems
timeout-minutes: 10