Skip to content

Commit 46ddc45

Browse files
authored
Support go 1.18 update (#110)
* ci: Update go version to 1.18 * chore(deps): Update go version to 1.18; Update deps
1 parent 5783a58 commit 46ddc45

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+555
-261
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
max-parallel: 2
4141
matrix:
4242
os: [ 'ubuntu-20.04' ]
43-
go: [ '1.17' ]
43+
go: [ '1.18' ]
4444
runs-on: ${{ matrix.os }}
4545
name: Run Tests
4646
steps:
@@ -89,7 +89,7 @@ jobs:
8989
max-parallel: 2
9090
matrix:
9191
os: [ 'ubuntu-20.04' ]
92-
go: [ '1.17' ]
92+
go: [ '1.18' ]
9393
runs-on: ${{ matrix.os }}
9494
name: Run linters
9595
steps:
@@ -142,7 +142,7 @@ jobs:
142142
max-parallel: 1
143143
matrix:
144144
os: [ 'ubuntu-20.04' ]
145-
go: [ '1.17' ]
145+
go: [ '1.18' ]
146146
runs-on: ${{ matrix.os }}
147147
name: Quality reports
148148
steps:
@@ -212,7 +212,7 @@ jobs:
212212
max-parallel: 2
213213
matrix:
214214
os: [ 'ubuntu-20.04' ]
215-
go: [ '1.17' ]
215+
go: [ '1.18' ]
216216
runs-on: ${{ matrix.os }}
217217
name: Build
218218
steps:

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
max-parallel: 2
1515
matrix:
1616
os: [ 'ubuntu-20.04' ]
17-
go: [ '1.17' ]
17+
go: [ '1.18' ]
1818
runs-on: ${{ matrix.os }}
1919
name: Build
2020
steps:
@@ -60,7 +60,7 @@ jobs:
6060
max-parallel: 2
6161
matrix:
6262
os: [ 'ubuntu-20.04' ]
63-
go: [ '1.17' ]
63+
go: [ '1.18' ]
6464
runs-on: ${{ matrix.os }}
6565
name: Regression tests
6666
steps:
@@ -110,7 +110,7 @@ jobs:
110110
max-parallel: 1
111111
matrix:
112112
os: [ 'ubuntu-20.04' ]
113-
go: [ '1.17' ]
113+
go: [ '1.18' ]
114114
runs-on: ${{ matrix.os }}
115115
name: Lint
116116
steps:
@@ -164,7 +164,7 @@ jobs:
164164
max-parallel: 1
165165
matrix:
166166
os: [ 'ubuntu-20.04' ]
167-
go: [ '1.17' ]
167+
go: [ '1.18' ]
168168
runs-on: ${{ matrix.os }}
169169
name: Release
170170
steps:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/obalunenko/advent-of-code
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/briandowns/spinner v1.18.1

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE
4242
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
4343
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
4444
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
45-
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
4645
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
4746
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
4847
github.com/urfave/cli/v2 v2.4.0 h1:m2pxjjDFgDxSPtO8WSdbndj17Wu2y8vOT86wE/tjr+I=

tools/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module github.com/obalunenko/advent-of-code/tools
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/axw/gocov v1.0.0
77
github.com/golangci/golangci-lint v1.45.0
8-
github.com/goreleaser/goreleaser v1.6.3
8+
github.com/goreleaser/goreleaser v1.7.0
99
github.com/matm/gocov-html v0.0.0-20200509184451-71874e2e203b
1010
github.com/mattn/goveralls v0.0.11
1111
github.com/obalunenko/coverbadger v1.1.0
@@ -135,15 +135,15 @@ require (
135135
github.com/google/go-cmp v0.5.7 // indirect
136136
github.com/google/go-github/v43 v43.0.0 // indirect
137137
github.com/google/go-querystring v1.1.0 // indirect
138-
github.com/google/rpmpack v0.0.0-20211125064518-d0ed9b1b61b9 // indirect
138+
github.com/google/rpmpack v0.0.0-20220314092521-38642b5e571e // indirect
139139
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
140140
github.com/google/uuid v1.3.0 // indirect
141141
github.com/google/wire v0.5.0 // indirect
142142
github.com/googleapis/gax-go/v2 v2.1.1 // indirect
143143
github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8 // indirect
144144
github.com/goreleaser/chglog v0.1.2 // indirect
145145
github.com/goreleaser/fileglob v1.3.0 // indirect
146-
github.com/goreleaser/nfpm/v2 v2.14.0 // indirect
146+
github.com/goreleaser/nfpm/v2 v2.15.0 // indirect
147147
github.com/gorilla/websocket v1.4.2 // indirect
148148
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
149149
github.com/gostaticanalysis/comment v1.4.2 // indirect
@@ -237,7 +237,7 @@ require (
237237
github.com/spf13/viper v1.10.1 // indirect
238238
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
239239
github.com/stretchr/objx v0.2.0 // indirect
240-
github.com/stretchr/testify v1.7.0 // indirect
240+
github.com/stretchr/testify v1.7.1 // indirect
241241
github.com/subosito/gotenv v1.2.0 // indirect
242242
github.com/sylvia7788/contextcheck v1.0.4 // indirect
243243
github.com/tdakkota/asciicheck v0.1.1 // indirect
@@ -250,7 +250,7 @@ require (
250250
github.com/ultraware/funlen v0.0.3 // indirect
251251
github.com/ultraware/whitespace v0.0.5 // indirect
252252
github.com/uudashr/gocognit v1.0.5 // indirect
253-
github.com/xanzy/go-gitlab v0.56.0 // indirect
253+
github.com/xanzy/go-gitlab v0.59.0 // indirect
254254
github.com/xanzy/ssh-agent v0.3.1 // indirect
255255
github.com/yagipy/maintidx v1.0.0 // indirect
256256
github.com/yeya24/promlinter v0.1.1-0.20210918184747-d757024714a1 // indirect

0 commit comments

Comments
 (0)