Merge pull request #1149 from JasonYangShadow/golang_upgrade

upgrade golang version to 1.20
This commit is contained in:
Christian Goll
2024-03-22 09:05:49 +01:00
committed by GitHub
3 changed files with 7 additions and 6 deletions

View File

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

View File

@@ -20,6 +20,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. - Locally defined `tr` has been dropped, templates updated to use Sprig replace.
- Updated the glossary. #819 - Updated the glossary. #819
- Upgrade the golang version to 1.19. - Upgrade the golang version to 1.19.
- Upgrade the golang version to 1.20.
### Fixed ### Fixed

2
go.mod
View File

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