Skip to content

Commit 85c0261

Browse files
committed
migrate .golangci.yml for v2
Signed-off-by: sivchari <[email protected]>
1 parent d0a809b commit 85c0261

File tree

4 files changed

+326
-350
lines changed

4 files changed

+326
-350
lines changed

.github/workflows/pr-golangci-lint.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ jobs:
2727
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # tag=v5.4.0
2828
with:
2929
go-version: ${{ steps.vars.outputs.go_version }}
30-
- name: golangci-lint
31-
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # tag=v6.5.2
32-
with:
33-
version: v1.63.4
34-
args: --out-format=colored-line-number
35-
working-directory: ${{matrix.working-directory}}
30+
- name: Lint Codebase
31+
run: make lint
3632
- name: Lint API
37-
run: GOLANGCI_LINT_EXTRA_ARGS=--out-format=colored-line-number make lint-api
33+
run: make lint-api

0 commit comments

Comments
 (0)