build(go): switch to go 1.21 (#2049)

Also update to the latest swaggo version, as the previous one did not work with go 1.21

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
Andrei Aaron
2024-02-07 20:54:28 +02:00
committed by GitHub
parent 4e33c172bb
commit 60dc8569ec
35 changed files with 182 additions and 50 deletions
+4 -4
View File
@@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-go@v5
with:
cache: false
go-version: 1.20.x
go-version: 1.21.x
- name: Run zb
id: bench
@@ -51,7 +51,7 @@ jobs:
- uses: actions/setup-go@v5
with:
cache: false
go-version: 1.20.x
go-version: 1.21.x
- name: Run zb
id: bench
@@ -82,7 +82,7 @@ jobs:
- uses: actions/setup-go@v5
with:
cache: false
go-version: 1.20.x
go-version: 1.21.x
- uses: ./.github/actions/setup-localstack
- name: Setup minio service
run: |
@@ -157,7 +157,7 @@ jobs:
- uses: actions/setup-go@v5
with:
cache: false
go-version: 1.20.x
go-version: 1.21.x
- uses: ./.github/actions/setup-localstack
- name: Setup minio service
run: |