Skip to content

Commit

Permalink
fixed linting call
Browse files Browse the repository at this point in the history
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
  • Loading branch information
eckelj committed Oct 13, 2023
1 parent 677a028 commit 33bcc06
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33bcc06

Please sign in to comment.