0

Troubleshoot workflow errors

This commit is contained in:
Gabe Kangas 2024-07-11 11:51:51 -07:00
parent 91b176a8e4
commit 05c54eaad8
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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 ./...