Run on correct change

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2022-11-04 10:32:57 +01:00 committed by Juan Font
parent 889223e35f
commit b2c0e37122

View file

@ -11,17 +11,17 @@ jobs:
with:
fetch-depth: 2
# - name: Get changed files
# id: changed-files
# uses: tj-actions/changed-files@v14.1
# with:
# files: |
# *.nix
# go.*
# **/*.go
# integration_test/
# config-example.yaml
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v14.1
with:
files: |
*.nix
go.*
**/*.go
integration_test/
config-example.yaml
- name: Run general integration tests
# if: steps.changed-files.outputs.any_changed == 'true'
if: steps.changed-files.outputs.any_changed == 'true'
run: nix develop --command -- make test_integration_v2_general