From 1c396e839108156b68eab661f673bb6d866d4d5c Mon Sep 17 00:00:00 2001 From: Johannes Eiglsperger Date: Wed, 10 Apr 2024 12:09:49 +0200 Subject: [PATCH] Add govulncheck --- .github/workflows/govulncheck.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/govulncheck.yml diff --git a/.github/workflows/govulncheck.yml b/.github/workflows/govulncheck.yml new file mode 100644 index 0000000..0c2f8ff --- /dev/null +++ b/.github/workflows/govulncheck.yml @@ -0,0 +1,23 @@ +--- +name: govulncheck +on: + push: + branches: + - main + pull_request: + branches: + - main + schedule: + - cron: "21 7 * * 5" + workflow_dispatch: +concurrency: + group: "${{ github.workflow }}-$${{ github.pull_request.number || github.run_id }}" + cancel-in-progress: true +jobs: + govulncheck: + runs-on: ubuntu-latest + steps: + - uses: golang/govulncheck-action@v1 + with: + go-version-file: "go.mod" + go-package: ./...