Troubleshoot workflow errors
This commit is contained in:
parent
91b176a8e4
commit
05c54eaad8
2
.github/workflows/chromatic.yml
vendored
2
.github/workflows/chromatic.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
concurrent_skipping: 'same_content_newer'
|
concurrent_skipping: 'same_content_newer'
|
||||||
|
|
||||||
- name: Check out code
|
- 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
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# Make sure the actual branch is checked out when running on pull requests
|
# Make sure the actual branch is checked out when running on pull requests
|
||||||
|
4
.github/workflows/go-tests.yaml
vendored
4
.github/workflows/go-tests.yaml
vendored
@ -49,6 +49,7 @@ jobs:
|
|||||||
|
|
||||||
test-bsds:
|
test-bsds:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
@ -61,7 +62,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache/go-build
|
~/.cache/go-build
|
||||||
@ -72,11 +72,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Install go
|
- name: Install go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
|
||||||
with:
|
with:
|
||||||
go-version: '^1'
|
go-version: '^1'
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user