Skip to content

Commit 27a464b

Browse files
committed
multi: update GH and docker go version
Update the go version used by Dockerfile-wasm along with the go version used by Github actions.
1 parent 3203c51 commit 27a464b

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
# go needs absolute directories, using the $HOME variable doesn't work here.
1717
GOCACHE: /home/runner/work/go/pkg/build
1818
GOPATH: /home/runner/work/go
19-
GO_VERSION: 1.17.x
19+
GO_VERSION: 1.18.x
2020

2121
jobs:
2222
########################

Dockerfile-wasm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#Get golang 1.17.3-buster as a base image
2-
FROM golang:1.17.3-buster@sha256:ee3a388a872237ddb600de3ab9512e73df0043f8878f0f355baeb5b723ef16ec as builder
1+
#Get golang 1.19 as a base image
2+
FROM golang:1.19 as builder
33

44
#Define the working directory in the container
55
WORKDIR /app

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ LINT_BIN := $(GO_BIN)/golangci-lint
99

1010
LINT_COMMIT := v1.18.0
1111

12-
DEPGET := cd /tmp && GO111MODULE=on go get -v
1312
GOBUILD := go build -v
1413
GOINSTALL := go install -v
1514
GOTEST := GO111MODULE=on go test -v
@@ -61,7 +60,7 @@ all: build check
6160

6261
$(LINT_BIN):
6362
@$(call print, "Fetching linter")
64-
$(DEPGET) $(LINT_PKG)@$(LINT_COMMIT)
63+
$(GOINSTALL) $(LINT_PKG)@$(LINT_COMMIT)
6564

6665
# ============
6766
# INSTALLATION

0 commit comments

Comments
 (0)