Update Go version to 1.21 in GitHub workflows

This commit updates the Go version from 1.20 to 1.21 on three GitHub workflow files: golangci-lint.yml, codecov.yml, and sonarqube.yml. The change ensures we use the latest Go version which is more efficient and comes with additional features, leading to improved project performance.
This commit is contained in:
Winni Neessen 2023-08-15 10:11:13 +02:00
parent 5948b38702
commit b2e54717b3
Signed by: wneessen
GPG key ID: 385AC9889632126E
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [1.16, 1.17, 1.18, 1.19, '1.20']
go: [1.17, 1.18, 1.19, '1.20', '1.21']
steps:
- name: Checkout Code
uses: actions/checkout@master

View file

@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: '1.21'
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3

View file

@ -29,7 +29,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.20.x'
go-version: '1.21.x'
- name: Run unit Tests
run: |