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