Skip to content

Commit 44277ce

Browse files
authored
[GHA][check-sdk-compat] Set staticcheck config to ignore deprecated symbols check (#208)
1 parent 43caff9 commit 44277ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/check-sdk-compat.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ jobs:
6767
cd -
6868
done
6969
70+
# staticcheck config to ignore deprecated symbols (SA1019); other values are part of default config
71+
- name: Staticcheck config
72+
run: echo 'checks = ["all", "-SA9003", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022", "-ST1023", "-SA1019"]' > staticcheck.conf
73+
7074
- name: Run check
7175
run: go run . check
7276
working-directory: ./internal/cmd/build

0 commit comments

Comments
 (0)