From dca1da4c1070af1b653cdb750792b06572caf64b Mon Sep 17 00:00:00 2001 From: Martin Hutchinson Date: Thu, 4 Jul 2024 11:12:47 +0100 Subject: [PATCH] Update version of go, and run vuln checking --- .github/workflows/govulncheck.yml | 23 +++++++++++++++++++++++ go.mod | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) 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..531b969 --- /dev/null +++ b/.github/workflows/govulncheck.yml @@ -0,0 +1,23 @@ +name: govulncheck + +on: + push: + branches: + - main + pull_request: + branches: + - main + +permissions: + contents: read + +jobs: + govulncheck_job: + runs-on: ubuntu-latest + name: Run govulncheck + steps: + - id: govulncheck + uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 # v1.0.3 + with: + go-version-file: go.mod + go-package: ./... diff --git a/go.mod b/go.mod index 447de86..ca9b29f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/transparency-dev/distributor -go 1.20 +go 1.21.12 require ( cloud.google.com/go/cloudsqlconn v1.11.0