mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
.github: Bump minimum Go version to 1.21
Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
This commit is contained in:
committed by
Stéphane Graber
parent
2856ce4b0d
commit
f959749dba
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@@ -44,11 +44,11 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.20.x
|
||||
go-version: 1.21.x
|
||||
|
||||
- name: Check compatible min Go version
|
||||
run: |
|
||||
go mod tidy -go=1.20
|
||||
go mod tidy -go=1.21
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@@ -111,7 +111,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go: ["1.20.x"]
|
||||
go: ["1.21.x"]
|
||||
suite: ["cluster", "standalone"]
|
||||
backend: ["dir", "btrfs", "lvm", "zfs", "ceph", "random"]
|
||||
include:
|
||||
@@ -329,7 +329,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go:
|
||||
- 1.20.x
|
||||
- 1.21.x
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
@@ -403,7 +403,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.20.x
|
||||
go-version: 1.21.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user