Skip to content

Commit

Permalink
Upgrade to Go 1.18
Browse files Browse the repository at this point in the history
GitHub-Closes: #99
Signed-off-by: Alexander Jung <alex@unikraft.io>
  • Loading branch information
nderjung committed Sep 16, 2022
1 parent 04ad0c1 commit aa1978d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 99 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gochecks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Go Checks
jobs:
unit:
runs-on: ubuntu-latest
container: golang:1.17-bullseye
container: golang:1.18-bullseye
name: All
env:
RUNGOGENERATE: false
Expand All @@ -16,10 +16,10 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: "1.17.x"
go-version: "1.18.x"

- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@c8caa92bad8c27ae734c6725b8a04932d54a147b # 2021.1.2 (v0.2.2)
run: go install honnef.co/go/tools/cmd/staticcheck@2022.1.3

- name: Install gofumpt
run: go install mvdan.cc/gofumpt@v0.3.1
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ REPO ?= kraftkit
BIN ?= kraft
GOMOD ?= kraftkit.sh
IMAGE_TAG ?= latest
GO_VERSION ?= 1.17
GO_VERSION ?= 1.18

ifeq ($(HASH),)
HASH_COMMIT ?= HEAD
Expand Down Expand Up @@ -113,7 +113,7 @@ $(addprefix $(.PROXY), $(BIN)):

# Create an environment where we can build
.PHONY: container
container: GO_VERSION ?= 1.17
container: GO_VERSION ?= 1.18
container: DOCKER_BUILD_EXTRA ?=
container: ENVIRONMENT ?= myself
container: IMAGE ?= $(REGISTRY)/$(ORG)/$(REPO)/$(ENVIRONMENT):$(IMAGE_TAG)
Expand Down
2 changes: 1 addition & 1 deletion buildenvs/myself.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

ARG GO_VERSION=1.17
ARG GO_VERSION=1.18

FROM golang:${GO_VERSION}-bullseye AS base

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module kraftkit.sh

go 1.17
go 1.18

require (
github.com/AlecAivazis/survey/v2 v2.3.4
Expand Down
Loading

0 comments on commit aa1978d

Please sign in to comment.