From 88564d2307e53c58e1fe42edb79c0017356c3c25 Mon Sep 17 00:00:00 2001 From: liranmauda Date: Sun, 27 Oct 2024 12:23:42 +0200 Subject: [PATCH] Removing golangci-lint-action in favor or make lint Removing golangci-lint-action in favor or make lint Signed-off-by: liranmauda --- .github/workflows/golangci-lint.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 18b03aa968..0b3846b45a 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -11,20 +11,9 @@ jobs: cancel-in-progress: true steps: - uses: actions/checkout@v4 - - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + - uses: actions/setup-go@v5 with: - # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.55 - - # Optional: if set to true then the all caching functionality will be complete disabled, - # takes precedence over all other caching options. - # skip-cache: true - - # Optional: working directory, useful for monorepos - # working-directory: somedir - - # Optional: golangci-lint command line arguments. - args: --disable-all --print-issued-lines -E typecheck,errcheck,gosimple,unused,ineffassign,staticcheck --timeout=4m - # Optional: show only new issues if it's a pull request. The default value is `false`. - # only-new-issues: true + go-version: "1.21" + - name: run lint + id: run-build + run: make lint || exit 1