forked from tgirlcloud/locker
a linter for your flake.lock file
- Rust 83.6%
- Nix 16.4%
|
|
||
|---|---|---|
| .github/workflows | ||
| docs | ||
| src | ||
| test | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| shell.nix | ||
Locker
Locker is a tool designed to lint your flake.lock file to find duplicate entries by their flake uri.
Usage
locker <flake-lock-file>
GitHub Action
name: Validate Flake Lock
on:
workflow_dispatch:
push:
paths:
- "**.lock"
jobs:
check-flake:
name: Check Lock
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31
- name: Check flake.lock
run: nix run github:tgirlcloud/locker
