Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add semgrep to the static checkers list #735

Merged
merged 3 commits into from
Jul 9, 2024
Merged

feat: add semgrep to the static checkers list #735

merged 3 commits into from
Jul 9, 2024

Conversation

igungor
Copy link
Member

@igungor igungor commented Jul 8, 2024

.github/semgrep-rules.yaml contains semgrep rules in addition to https://github.com/dgryski/semgrep-go.

A few changes are also made:

  • Remove semgrep findings
  • Use go.uber.org/mock instead of unmaintained github.com/golang/mock/gomock
  • Add bootstrap target to install pinned versions of tools used in CI
Screenshot 2024-07-08 at 15 22 51

😅

igungor added 2 commits July 8, 2024 15:00
Using `path.Join` calls `path.Clean`, which breaks tests with special characters.
This change only silences semgrep; no logic changes are intended.
@igungor igungor requested a review from a team as a code owner July 8, 2024 12:22
@igungor igungor requested review from ilkinulas and denizsurmeli and removed request for a team July 8, 2024 12:22
denizsurmeli
denizsurmeli previously approved these changes Jul 8, 2024
@sonmezonur sonmezonur self-requested a review July 9, 2024 06:57
@igungor igungor merged commit 75d6f7a into master Jul 9, 2024
13 checks passed
@igungor igungor deleted the semgrep branch July 9, 2024 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants