mirror of
https://github.com/juanfont/headscale.git
synced 2026-09-26 10:14:52 +09:00
.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:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -32,6 +32,7 @@ jobs:
|
||||
- 'nix/**'
|
||||
- 'flake.nix'
|
||||
- 'flake.lock'
|
||||
- 'flakehashes.json'
|
||||
go:
|
||||
- 'go.*'
|
||||
- '**/*.go'
|
||||
|
||||
@@ -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.*'
|
||||
|
||||
Reference in New Issue
Block a user