Merge pull request #13328 from robertsirc/adjusting-go-setup-check-latest

adding check-latest:true
This commit is contained in:
Matt Farina 2024-10-01 14:58:10 +02:00 committed by GitHub
commit b2286c4caa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View file

@ -20,7 +20,8 @@ jobs:
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2
with:
go-version: '1.22.7'
go-version: '1.22'
check-latest: true
- name: Test source headers are present
run: make test-source-headers
- name: Run unit tests

View file

@ -18,7 +18,8 @@ jobs:
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2
with:
go-version: "1.22.7"
go-version: '1.22'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 #pin@6.1.0
with:

View file

@ -16,7 +16,8 @@ jobs:
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2
with:
go-version: '1.22.7'
go-version: '1.22'
check-latest: true
- name: govulncheck
uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 # pin@1.0.3
with:

View file

@ -83,7 +83,8 @@ jobs:
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2
with:
go-version: '1.22.7'
go-version: '1.22'
check-latest: true
- name: Run unit tests
run: make test-coverage