From 33bcc06ef05295a3aa0a3d55567a305e9fd23635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Fri, 13 Oct 2023 16:05:01 +0200 Subject: [PATCH] fixed linting call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- .github/workflows/audit.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index f318bbd..097d1c2 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -36,12 +36,7 @@ jobs: - name: Run staticcheck env: LINT: "//lint:file-ignore SA1019 Ignore all deprecation errors, it's generated" - run: | - # Add lint-ignore comment to beginning of files - sed -i "1i${LINT}" ./x/asset/types/query.pb.gw.go - sed -i "1i${LINT}" ./x/machine/types/query.pb.gw.go - sed -i "1i${LINT}" ./x/dao/types/query.pb.gw.go - staticcheck ./... + run: staticcheck ./... - name: Install golangci-lint run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest