.github: gate CI on flake.lock and flakehashes.json

Neither file was listed in any paths-filter, so a lockfile-only change
skipped build, check-generated, check-tests and the whole integration
matrix. Also drops integration_test/, which has never existed.
This commit is contained in:
Kristoffer Dalby
2026-09-04 14:10:58 +00:00
parent f227d68781
commit 0c1c8bdcf4
5 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ jobs:
- '*.nix'
- 'go.*'
- '**/*.go'
- 'integration_test/'
- 'flake.lock'
- 'flakehashes.json'
- 'config-example.yaml'
- uses: NixOS/nix-installer-action@6b8548fe06acfb0155a50ab5d561accb215764cc # main
if: steps.changed-files.outputs.files == 'true'
+2
View File
@@ -32,7 +32,9 @@ jobs:
- '*.nix'
- 'go.*'
- '**/*.go'
- 'flake.lock'
- 'tools/**'
- 'Makefile'
- uses: NixOS/nix-installer-action@6b8548fe06acfb0155a50ab5d561accb215764cc # main
if: steps.changed-files.outputs.files == 'true'
- uses: Mic92/hestia@fb239a2f72d4b6e26eec5425f289dea23b27a527 # v2.0.0
+2 -1
View File
@@ -26,8 +26,9 @@ jobs:
- '*.nix'
- 'go.*'
- '**/*.go'
- 'integration_test/'
- 'flake.lock'
- 'config-example.yaml'
- '.github/workflows/gh-action-integration-generator.go'
- uses: NixOS/nix-installer-action@6b8548fe06acfb0155a50ab5d561accb215764cc # main
if: steps.changed-files.outputs.files == 'true'
- uses: Mic92/hestia@fb239a2f72d4b6e26eec5425f289dea23b27a527 # v2.0.0
+1
View File
@@ -32,6 +32,7 @@ jobs:
- 'nix/**'
- 'flake.nix'
- 'flake.lock'
- 'flakehashes.json'
go:
- 'go.*'
- '**/*.go'
+3
View File
@@ -34,8 +34,11 @@ jobs:
- '*.nix'
- 'go.*'
- '**/*.go'
- 'flake.lock'
- 'flakehashes.json'
- 'integration/**'
- 'config-example.yaml'
- 'Makefile'
- '.github/workflows/test-integration.yaml'
- '.github/workflows/integration-test-template.yml'
- 'Dockerfile.*'