2024-04-01 20:34:37 +01:00
|
|
|
name: flake
|
|
|
|
|
2024-04-07 16:18:03 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- '**'
|
|
|
|
tags-ignore:
|
|
|
|
- '**'
|
2024-04-01 20:34:37 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
flake:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-06-14 00:01:06 +01:00
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
2024-09-03 00:00:12 +01:00
|
|
|
- uses: DeterminateSystems/nix-installer-action@ab6bcb2d5af0e904d04aea750e2089e9dc4cbfdd # v13
|
|
|
|
- uses: DeterminateSystems/magic-nix-cache-action@b46e247b898aa56e6d2d2e728dc6df6c84fdb738 # v7
|
2024-04-01 20:34:37 +01:00
|
|
|
- name: lint
|
2024-04-22 22:31:10 +01:00
|
|
|
run: |
|
|
|
|
nix fmt
|
|
|
|
git diff --exit-code
|
2024-04-01 20:34:37 +01:00
|
|
|
- name: flake check
|
|
|
|
run: nix flake check --all-systems
|
|
|
|
timeout-minutes: 10
|