From 48dc6910c46cfe752a8c6f9d057f4264efe92c32 Mon Sep 17 00:00:00 2001 From: Trevor Brown Date: Mon, 12 Feb 2024 20:09:41 -0500 Subject: [PATCH] fix(golang-rewrite): update detect-changes logic for Golang tests --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 134c40b4..a05422b5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,10 +34,12 @@ jobs: - 'asdf.*' - 'defaults' - 'help.txt' + go: + - '**.go' test-golang: needs: detect-changes - if: ${{ needs.detect-changes.outputs.cli == 'true' }} + if: ${{ needs.detect-changes.outputs.go == 'true' || needs.detect-changes.outputs.cli == 'true' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4