Skip to content

Commit a7ee15a

Browse files
authored
chore(ci): set the correct working-directory in registry-scanner ci job (#1248)
Signed-off-by: Cheng Fang <[email protected]>
1 parent 48a21dc commit a7ee15a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci-tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ jobs:
121121
registry-scanner:
122122
name: Ensure registry-scanner Go modules synchronicity and run tests
123123
runs-on: ubuntu-latest
124+
defaults:
125+
run:
126+
working-directory: ./registry-scanner
124127
steps:
125128
- name: Checkout code
126129
uses: actions/checkout@v4
@@ -130,7 +133,6 @@ jobs:
130133
go-version-file: go.mod
131134
- name: Download all Go modules
132135
run: |
133-
cd registry-scanner
134136
go mod download
135137
- name: Check for tidyness of go.mod and go.sum
136138
run: |

0 commit comments

Comments
 (0)