nix: move formatting checks to nix and enable in ci

This commit is contained in:
Jake Hillion
2025-12-05 17:00:33 +00:00
committed by GitHub
parent 5629983809
commit 39d76aa0a5
4 changed files with 59 additions and 6 deletions
+18 -3
View File
@@ -2,9 +2,6 @@ name: ci-pipeline
on:
push:
branches:
- staging
- main
pull_request:
branches:
- staging
@@ -91,6 +88,24 @@ jobs:
- uses: ./.github/actions/typecheck
nix-flake-check:
name: Check Nix flake
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: false
- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run nix flake check
run: |
nix flake check
shell: bash
# ci:
# needs: typecheck
# runs-on: ubuntu-latest