Skip to content

Commit def4222

Browse files
committed
set rpc to be default working directory for Lint job
1 parent 154f3bc commit def4222

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ concurrency:
1414
jobs:
1515
Lint:
1616
runs-on: ubuntu-latest
17+
defaults:
18+
run:
19+
working-directory: rpc
1720
steps:
1821

1922
- name: Check out code
@@ -26,12 +29,13 @@ jobs:
2629
uses: ./.github/actions/setup-protobuf
2730

2831
- name: Generate protobuf files
29-
run: cd rpc && go generate ./sinks/pb/
32+
run: go generate ./sinks/pb/
3033

3134
- name: GolangCI-Lint
3235
uses: golangci/golangci-lint-action@v8
3336
with:
3437
version: latest
38+
working-directory: rpc
3539

3640
Unit-Test:
3741
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)