upgrade minimum golang version

Signed-off-by: Xu Yang <xyang@ciq.com>
This commit is contained in:
Xu Yang
2024-03-15 02:35:49 -06:00
parent b6d74a2768
commit d78af656de
4 changed files with 8 additions and 7 deletions

View File

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

View File

@@ -17,6 +17,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.
### Fixed

View File

@@ -5,7 +5,7 @@ GO_TOOLS_BIN := $(addprefix $(TOOLS_BIN)/, $(notdir $(GO_TOOLS)))
GO_TOOLS_VENDOR := $(addprefix vendor/, $(GO_TOOLS))
GOLANGCI_LINT := $(TOOLS_BIN)/golangci-lint
GOLANGCI_LINT_VERSION := v1.53.2
GOLANGCI_LINT_VERSION := v1.56.2
PROTOC := $(TOOLS_BIN)/protoc
PROTOC_GEN_GO := $(TOOLS_BIN)/protoc-gen-go

2
go.mod
View File

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