diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 277981c..20f8dea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,8 +44,14 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + - name: Install Go + uses: actions/setup-go@v4 + id: go-version + with: + cache: false + go-version-file: go.mod - name: Scan for Vulnerabilities in Code uses: wandera/govulncheck-action@v0.0.10 with: - go-version: 1.20.0 + go-version: ${{ steps.go-version.outputs.go-version }} package: ./...