Skip to content

Commit 95e1a82

Browse files
authored
Merge pull request #1543 from snyk/go_1.18
Update to go 1.18
2 parents a3f4156 + 9f4aac9 commit 95e1a82

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
- checkout
3434
- go/install:
35-
version: "1.17.6"
35+
version: "1.18.3"
3636
- go/load-cache:
3737
key: test_acc
3838
- run: make install-tools
@@ -63,7 +63,7 @@ jobs:
6363
path: ./
6464
lint:
6565
docker:
66-
- image: golang:1.17
66+
- image: golang:1.18
6767
steps:
6868
- checkout
6969
- run:
@@ -83,7 +83,7 @@ jobs:
8383
resource_class: large
8484
executor:
8585
name: go/default
86-
tag: '1.17.6'
86+
tag: '1.18.3'
8787
steps:
8888
- checkout
8989
- go/load-cache:
@@ -101,7 +101,7 @@ jobs:
101101
release:
102102
resource_class: large
103103
docker:
104-
- image: cimg/go:1.17
104+
- image: cimg/go:1.18
105105
steps:
106106
- checkout
107107
- gh/setup:
@@ -196,7 +196,7 @@ jobs:
196196
-env "LATEST_VERSION=${CIRCLE_TAG}"
197197
security-oss:
198198
docker:
199-
- image: cimg/go:1.17.2
199+
- image: cimg/go:1.18
200200
steps:
201201
- checkout
202202
- snyk/scan:
@@ -206,7 +206,7 @@ jobs:
206206
organization: snyk-iac-group-seceng
207207
security-code:
208208
docker:
209-
- image: cimg/go:1.17.2
209+
- image: cimg/go:1.18.3
210210
steps:
211211
- checkout
212212
- snyk/scan:

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.17.6
1+
1.18.3

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
run:
2+
go: '1.18'
13
linters:
24
enable:
35
- exportloopref

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.17 AS builder
1+
FROM golang:1.18 AS builder
22

33
ARG OS="linux"
44
ARG ARCH="amd64"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ clean:
5757

5858
.PHONY: lint
5959
lint:
60-
@which golangci-lint > /dev/null 2>&1 || (curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $(GOBINPATH) v1.31.0)
60+
@which golangci-lint > /dev/null 2>&1 || (curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $(GOBINPATH) v1.46.2)
6161
golangci-lint run -v --timeout=10m
6262

6363
.PHONY: install-tools

0 commit comments

Comments
 (0)