From 6c5180ee181f5be27e0376c0740d6cc5737797fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Drzewiecki?= Date: Fri, 15 Dec 2023 14:02:12 +0100 Subject: [PATCH] configures golang/govulncheck-action --- .github/workflows/run-vuln-check.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/run-vuln-check.yaml diff --git a/.github/workflows/run-vuln-check.yaml b/.github/workflows/run-vuln-check.yaml new file mode 100644 index 00000000..5201368f --- /dev/null +++ b/.github/workflows/run-vuln-check.yaml @@ -0,0 +1,19 @@ +name: Run vuln check +on: + push: + branches: [ "main" ] + pull_request: +permissions: + contents: read +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: vulncheck + uses: golang/govulncheck-action@v1 + with: + go-version-input: 1.21.4 + go-package: ./...