From 55aef8e64ac09d7eea66649e72c5ba23688947eb Mon Sep 17 00:00:00 2001 From: Hao Zhou Date: Thu, 16 Nov 2023 01:13:17 +0000 Subject: [PATCH] force vulns check to use specified go patch version --- .github/workflows/pr-tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pr-tests.yaml b/.github/workflows/pr-tests.yaml index 5f26523..dcf5fd2 100644 --- a/.github/workflows/pr-tests.yaml +++ b/.github/workflows/pr-tests.yaml @@ -70,6 +70,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: '1.21.4' + cache-dependency-path: "**/go.sum" - name: Install `govulncheck` run: go install golang.org/x/vuln/cmd/govulncheck@latest - name: Run `govulncheck`