Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ci: integrate Trivy vulnerability scanning into CI workflow#4359

Merged
appleboy merged 1 commit into
gin-gonic:masterfrom
appleboy:patch1000
Sep 20, 2025
Merged

ci: integrate Trivy vulnerability scanning into CI workflow#4359
appleboy merged 1 commit into
gin-gonic:masterfrom
appleboy:patch1000

Conversation

@appleboy

Copy link
Copy Markdown
Member
  • Add a GitHub Actions job for vulnerability scanning using Trivy
  • Configure Trivy to scan the repository for vulnerabilities of severity critical, high, and medium
  • Ensure the workflow fails if vulnerabilities are found

- Add a GitHub Actions job for vulnerability scanning using Trivy
- Configure Trivy to scan the repository for vulnerabilities of severity critical, high, and medium
- Ensure the workflow fails if vulnerabilities are found

Signed-off-by: appleboy <[email protected]>
@appleboy appleboy added this to the v1.11 milestone Sep 20, 2025
@codecov

codecov Bot commented Sep 20, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.92%. Comparing base (3dc1cd6) to head (e0b6b70).
⚠️ Report is 166 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4359      +/-   ##
==========================================
- Coverage   99.21%   98.92%   -0.29%     
==========================================
  Files          42       44       +2     
  Lines        3182     3443     +261     
==========================================
+ Hits         3157     3406     +249     
- Misses         17       26       +9     
- Partials        8       11       +3     
Flag Coverage Δ
?
--ldflags="-checklinkname=0" -tags sonic 98.91% <ø> (?)
-tags go_json 98.85% <ø> (?)
-tags nomsgpack 98.91% <ø> (?)
go-1.18 ?
go-1.19 ?
go-1.20 ?
go-1.21 ?
go-1.23 98.92% <ø> (?)
go-1.24 98.92% <ø> (?)
go-1.25 98.92% <ø> (?)
macos-latest 98.92% <ø> (-0.29%) ⬇️
ubuntu-latest 98.92% <ø> (-0.29%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@appleboy appleboy merged commit cb000f5 into gin-gonic:master Sep 20, 2025
35 of 36 checks passed
@appleboy appleboy deleted the patch1000 branch September 20, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant