Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit c2719b5

Browse files
committed
BUG:set golang ci working directory
1 parent 3b62645 commit c2719b5

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/lint-and-format.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ jobs:
1818
with:
1919
go-version: ${{ matrix.go }}
2020

21-
- name: golangci-lint
22-
uses: golangci/golangci-lint-action@v3
23-
with:
24-
version: v1.50 # specifiy without patch version.
25-
26-
- name: install
21+
- name: install formatter
2722
run: go install github.com/segmentio/golines@latest
2823

2924
- name: format
3025
run: golines -w .
26+
27+
- name: golangci-lint
28+
uses: golangci/golangci-lint-action@v3
29+
with:
30+
version: v1.50 # specifiy without patch version.
31+
working-directory: |
32+
- "core"
33+
- "config"

0 commit comments

Comments
 (0)