nix-dotfiles/.github/workflows/lock-health-checks.yml
Alice Huston 438a931a5b
Feature/actions (#114)
* Add some basic actions/repo settings

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* Add issues/milestones to .github.yml

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* Finalize settings

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* Add checks

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* lock action update

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* checkout for lock check

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* make lock fail on check

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* fix flake update action

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* Update contrib

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* add formatting check

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* add nixfmt-rfc-style

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* update lock

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* initial format

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* minor change to trigger actions builds

This should be reverted before merging the PR

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* fix format hook

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* flakes update on PR now :)

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* create PR for update

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* allow PR on actions branch

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* PR

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* restore flake update to normal

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* revert flake-update-service changes

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

---------

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-03-17 18:58:55 -04:00

20 lines
389 B
YAML

name: "Check flake.lock"
on:
push:
branches: ["main"]
paths:
- '**.nix'
pull_request:
branches: ["main"]
paths:
- '**.nix'
jobs:
health-check:
name: "Check health of `flake.lock`"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/flake-checker-action@main
with:
fail-mode: true