Skip to content

Commit

Permalink
[GHA][check-sdk-compat] Set staticcheck config to ignore deprecated s…
Browse files Browse the repository at this point in the history
…ymbols check (#208)
  • Loading branch information
rodrigozhou authored Feb 7, 2025
1 parent 43caff9 commit 44277ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check-sdk-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
cd -
done
# staticcheck config to ignore deprecated symbols (SA1019); other values are part of default config
- name: Staticcheck config
run: echo 'checks = ["all", "-SA9003", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022", "-ST1023", "-SA1019"]' > staticcheck.conf

- name: Run check
run: go run . check
working-directory: ./internal/cmd/build
Expand Down

0 comments on commit 44277ce

Please sign in to comment.