Skip to content

Commit 4fe147d

Browse files
committed
feat(nix): add github CI check to make sure lockfile is in sync
1 parent 1a34d29 commit 4fe147d

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
- name: Install dependencies
3434
run: bun install --frozen-lockfile
3535

36+
- name: Verify Nix lockfile is up to date
37+
run: |
38+
bun run nix:update-lock
39+
git diff --exit-code nix/bun.lock.nix
40+
3641
- name: Format check
3742
run: bun run format:check
3843

.github/workflows/pr-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
- name: Install dependencies
3737
run: bun install --frozen-lockfile
3838

39+
- name: Verify Nix lockfile is up to date
40+
run: |
41+
bun run nix:update-lock
42+
git diff --exit-code nix/bun.lock.nix
43+
3944
- name: Format check
4045
run: bun run format:check
4146

0 commit comments

Comments
 (0)