From b682f5bc2263312134fc9eaa0105d7f3d18e69d9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 14 Jan 2025 12:41:26 +0100 Subject: [PATCH] ci: use the golangci-lint make target in the lint workflow Signed-off-by: Michael Adam --- .github/workflows/lint.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 231de300..724d7ba2 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -52,17 +52,8 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: go.mod - - name: golangci-lint - uses: golangci/golangci-lint-action@v6 - 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.63 - - # Optional: golangci-lint command line arguments. - args: --config=.golangci.yml - - # actions/setup-go already handles caching - skip-cache: true + - name: run golangci-lint + run: make golangci-lint govulncheck: name: govulncheck