Skip to content

Commit

Permalink
remove staticcheck for the time being
Browse files Browse the repository at this point in the history
  • Loading branch information
omrikiei committed Dec 31, 2024
1 parent b5f19a7 commit c0e81cc
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
go mod download
go install golang.org/x/tools/cmd/cover@latest
go install github.com/securego/gosec/v2/cmd/gosec@latest
go install honnef.co/go/tools/cmd/staticcheck@2024.1.1
- name: Run tests with coverage
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...

Expand All @@ -37,14 +36,6 @@ jobs:
file: ./coverage.txt
fail_ci_if_error: false

- name: Run static code analysis
run: |
staticcheck ./...
if [ $? -ne 0 ]; then
echo "Static analysis found issues"
exit 1
fi
- name: Run security scan
run: |
gosec -exclude-dir=.git -exclude-dir=vendor ./...
Expand Down

0 comments on commit c0e81cc

Please sign in to comment.