summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-01-07 18:23:48 +0200
committerKyren223 <Kyren223@proton.me>2025-01-07 18:23:48 +0200
commit4c2672b4970613f9db072231ed4ac07845e431d7 (patch)
tree3f9cb91ddaf0e2b89bccb7864e0c2b1ab07d6298
parent121feb261caf88afe0272750033b9e77b0783efc (diff)
Added gosec to CI, will fail
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 84298a8..d77b260 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,3 +31,9 @@ jobs:
- name: Run tests
run: go test --cover ./...
+
+ - name: Install gosec
+ run: go install github.com/securego/gosec/v2/cmd/gosec@latest
+
+ - name: Run gosec
+ run: gosec ./...