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>
This commit is contained in:
19
.github/workflows/nix-fmt.yml
vendored
Normal file
19
.github/workflows/nix-fmt.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: "Check Nix formatting"
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- '**.nix'
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- '**.nix'
|
||||
jobs:
|
||||
health-check:
|
||||
name: "Perform Nix format checks"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- uses: actions/checkout@v4
|
||||
- run: nix fmt -- --check .
|
Reference in New Issue
Block a user