upgrade golang version to 1.20

Signed-off-by: Xu Yang <xyang@ciq.com>
This commit is contained in:
Xu Yang
2024-03-21 21:04:48 -06:00
parent d78af656de
commit 2cb0f84f4e
3 changed files with 7 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.19', '1.20', '1.21']
go-version: ['1.20', '1.21', '1.22']
steps:
- name: Checkout Warewulf
uses: actions/checkout@v4
@@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.19', '1.20', '1.21']
go-version: ['1.20', '1.21', '1.22']
steps:
- name: Checkout Warewulf
uses: actions/checkout@v4
@@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.19', '1.20', '1.21']
go-version: ['1.20', '1.21', '1.22']
steps:
- name: Checkout Warewulf
uses: actions/checkout@v4
@@ -60,7 +60,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.19', '1.20', '1.21']
go-version: ['1.20', '1.21','1.22']
steps:
- name: Checkout Warewulf
uses: actions/checkout@v4
@@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.19', '1.20', '1.21']
go-version: ['1.20', '1.21','1.22']
steps:
- name: Checkout Warewulf
uses: actions/checkout@v4

View File

@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Locally defined `tr` has been dropped, templates updated to use Sprig replace.
- Updated the glossary. #819
- Upgrade the golang version to 1.19.
- Upgrade the golang version to 1.20.
### Fixed

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/warewulf/warewulf
go 1.19
go 1.20
require (
github.com/Masterminds/sprig/v3 v3.2.3