mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 04:48:26 +08:00
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:
@@ -20,11 +20,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- name: Install go 1.20
|
||||
- name: Install go 1.21
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
cache: false
|
||||
go-version: 1.20.x
|
||||
go-version: 1.21.x
|
||||
- name: Checkout this PR
|
||||
uses: actions/checkout@v4
|
||||
- name: Start zot server
|
||||
|
||||
Reference in New Issue
Block a user