a linter for your flake.lock file
1## Locker
2
3Locker is a tool designed to lint your flake.lock file to find duplicate entries by their flake uri.
4
5
6
7### Usage
8
9```bash
10locker <flake-lock-file>
11```
12
13### GitHub Action
14
15```yaml
16name: Validate Flake Lock
17
18on:
19 workflow_dispatch:
20 push:
21 paths:
22 - "**.lock"
23
24jobs:
25 check-flake:
26 name: Check Lock
27 runs-on: ubuntu-latest
28
29 steps:
30 - name: Checkout
31 uses: actions/checkout@v4
32
33 - name: Install Nix
34 uses: cachix/install-nix-action@v31
35
36 - name: Check flake.lock
37 run: nix run github:tgirlcloud/locker
38```