From b4c172617f8137d3f44b8022e338987bb2251947 Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Fri, 31 Oct 2025 15:39:15 +0200 Subject: [PATCH] Use the official govulncheck-action (#733) ## Motivation and Context Better to use the action with proper versioning instead of latest. ## How Has This Been Tested? ## Breaking Changes ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist - [ ] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [ ] My code follows the repository's style guidelines - [ ] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context Signed-off-by: Radoslav Dimitrov --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71a7caa..99d7b65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,10 +35,12 @@ jobs: - name: Build application run: make build - - name: Check for vulnerabilities - run: | - go install golang.org/x/vuln/cmd/govulncheck@latest - govulncheck ./... + - name: Run govulncheck + uses: golang/govulncheck-action@v1 + with: + go-version-input: '' + go-version-file: go.mod + go-package: ./... # All Tests tests: