Skip to content

Commit b625fbe

Browse files
committed
action.yml: make sure the latest Go version is default
Due to some confusion on the contract of one of the dependencies, govulncheck-action would not by default try to download the newest go version when one was present. This would sometimes even break the action run due to a seemingly another issue with the dependency. This change should fix both issues. Fixes golang/go#69597 Change-Id: I51a21aad2daafc3984866051f91cf9339bb540e2 Reviewed-on: https://go-review.googlesource.com/c/govulncheck-action/+/616435 Reviewed-by: Maceo Thompson <[email protected]> TryBot-Bypass: Zvonimir Pavlinovic <[email protected]> Reviewed-by: Zvonimir Pavlinovic <[email protected]>
1 parent dd0578b commit b625fbe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

action.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
name: 'golang-govulncheck-action'
22
description: 'Run govulncheck'
33
inputs:
4-
go-version-input: # version of Go to use for govulncheck
4+
go-version-input: # version of Go to use for govulncheck
55
description: 'Version of Go to use for govulncheck'
66
required: false
7+
default: 'stable'
78
check-latest:
89
description: 'Set this option to true if you want the action to always check for the latest available Go version that satisfies the version spec'
910
required: false
10-
default: false
11+
default: true
1112
cache:
1213
description: 'Used to specify whether Go caching is needed. Set to true, if you would like to enable caching.'
1314
required: false

0 commit comments

Comments
 (0)