Browse Source

update static checks for build tags

Matthew R. Kasun 2 years ago
parent
commit
0ac7669ac3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/test.yml

+ 1 - 1
.github/workflows/test.yml

@@ -81,7 +81,7 @@ jobs:
             sudo apt-get install -y gcc libgl1-mesa-dev xorg-dev 
             go test -p 1 ./... -v
             go install honnef.co/go/tools/cmd/staticcheck@latest
-            ~/go/bin/staticcheck ./...
+            { ~/go/bin/staticcheck  -tags=ee ./... ; ~/go/bin/staticcheck ./... ; } | ~/go/bin/staticcheck -merge
         env:
           DATABASE: sqlite
           CLIENT_MODE: "off"