feat: add Nix CI workflow and update flake.lock dependencies (#1872)

This commit is contained in:
Mg Pig
2026-02-04 15:37:35 +08:00
committed by sijie.sun
parent b6e292cce3
commit 85e9029577
4 changed files with 43 additions and 17 deletions
+30
View File
@@ -0,0 +1,30 @@
name: Nix Check
on:
push:
branches: ["main", "develop"]
paths:
- "**/*.nix"
- "flake.lock"
pull_request:
branches: ["main", "develop"]
paths:
- "**/*.nix"
- "flake.lock"
jobs:
check-full-shell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v6
- name: Check full devShell
run: nix develop .#full --command true