ci: add flake checker action
Some checks are pending
Check flake / check (push) Waiting to run

This commit is contained in:
Youwen Wu 2024-12-05 16:10:04 -08:00
parent e3bd5550a6
commit 4e937c944c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

19
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Check flake
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-22.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Check Nix flake Nixpkgs inputs
uses: DeterminateSystems/flake-checker-action@main
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix flake check --all-systems