Skip to content

Commit

Permalink
Merge pull request #49 from wandera/ga-go-version
Browse files Browse the repository at this point in the history
actions: fix: infer go version
  • Loading branch information
jsfpdn authored Apr 28, 2023
2 parents 3b89da9 + 0c013e1 commit 70c58dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ./...

0 comments on commit 70c58dc

Please sign in to comment.