Skip to content

Commit f31fdaf

Browse files
committed
Removing golangci-lint-action in favor or make lint
Removing golangci-lint-action in favor or make lint Signed-off-by: liranmauda <[email protected]> (cherry picked from commit 88564d2)
1 parent d894879 commit f31fdaf

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/golangci-lint.yml

+6-17
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,10 @@ jobs:
1010
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true
1212
steps:
13-
- uses: actions/checkout@v3
14-
- name: golangci-lint
15-
uses: golangci/golangci-lint-action@v3
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-go@v5
1615
with:
17-
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
18-
version: v1.55
19-
20-
# Optional: if set to true then the all caching functionality will be complete disabled,
21-
# takes precedence over all other caching options.
22-
# skip-cache: true
23-
24-
# Optional: working directory, useful for monorepos
25-
# working-directory: somedir
26-
27-
# Optional: golangci-lint command line arguments.
28-
args: --disable-all --print-issued-lines -E typecheck,errcheck,gosimple,unused,ineffassign,staticcheck --timeout=4m
29-
# Optional: show only new issues if it's a pull request. The default value is `false`.
30-
# only-new-issues: true
16+
go-version: "1.21"
17+
- name: run lint
18+
id: run-build
19+
run: make lint || exit 1

0 commit comments

Comments
 (0)