Skip to content

Commit

Permalink
ci: use go version from go.mod for trivy
Browse files Browse the repository at this point in the history
actions/setup-go@v5 supports using go.mod
to install the required version of golang
, if any changes are required specific to
version we dont need to make changes in
2 places.
  • Loading branch information
Madhu-1 committed Sep 24, 2024
1 parent 5ad0cfb commit 19144f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install go
uses: actions/setup-go@v5
with:
go-version: 1.23.1
go-version-file: go.mod

- name: Build images from Dockerfile
run: |
Expand Down

0 comments on commit 19144f3

Please sign in to comment.