check and use the latest go available for the defined version (#690)

* check and use the latest go available for the defined version

Signed-off-by: cpanato <ctadeu@gmail.com>

* update cosign action and version

Signed-off-by: cpanato <ctadeu@gmail.com>

* update based on feedback

Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
Carlos Tadeu Panato Junior
2022-04-21 09:54:20 -04:00
committed by GitHub
parent 84356b8b0b
commit a5f223ec4e
12 changed files with 42 additions and 23 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.17.x
go-version: 1.17
check-latest: true
- run: go test -coverprofile=coverage.txt -covermode=atomic -race ./...