diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index e6a343f9c..f3a8e288b 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -29,7 +29,7 @@ jobs: concurrent_skipping: 'same_content_newer' - name: Check out code - if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' && steps.changed-files-yaml.outputs.src_any_changed == 'true' }} + if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' }} uses: actions/checkout@v4 with: # Make sure the actual branch is checked out when running on pull requests diff --git a/.github/workflows/go-tests.yaml b/.github/workflows/go-tests.yaml index 1053ffa46..0ff23210a 100644 --- a/.github/workflows/go-tests.yaml +++ b/.github/workflows/go-tests.yaml @@ -49,6 +49,7 @@ jobs: test-bsds: runs-on: macos-latest + if: steps.changed-files-yaml.outputs.src_any_changed == 'true' strategy: matrix: os: @@ -61,7 +62,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/cache@v4 - if: steps.changed-files-yaml.outputs.src_any_changed == 'true' with: path: | ~/.cache/go-build @@ -72,11 +72,9 @@ jobs: - name: Install go uses: actions/setup-go@v5 - if: steps.changed-files-yaml.outputs.src_any_changed == 'true' with: go-version: '^1' cache: true - name: Run tests - if: steps.changed-files-yaml.outputs.src_any_changed == 'true' run: go test ./...