Skip to content

Commit

Permalink
Support go 1.18 update (#110)
Browse files Browse the repository at this point in the history
* ci: Update go version to 1.18

* chore(deps): Update go version to 1.18; Update deps
  • Loading branch information
obalunenko authored Mar 21, 2022
1 parent 5783a58 commit 46ddc45
Show file tree
Hide file tree
Showing 44 changed files with 555 additions and 261 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-20.04' ]
go: [ '1.17' ]
go: [ '1.18' ]
runs-on: ${{ matrix.os }}
name: Run Tests
steps:
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-20.04' ]
go: [ '1.17' ]
go: [ '1.18' ]
runs-on: ${{ matrix.os }}
name: Run linters
steps:
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-20.04' ]
go: [ '1.17' ]
go: [ '1.18' ]
runs-on: ${{ matrix.os }}
name: Quality reports
steps:
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-20.04' ]
go: [ '1.17' ]
go: [ '1.18' ]
runs-on: ${{ matrix.os }}
name: Build
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-20.04' ]
go: [ '1.17' ]
go: [ '1.18' ]
runs-on: ${{ matrix.os }}
name: Build
steps:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-20.04' ]
go: [ '1.17' ]
go: [ '1.18' ]
runs-on: ${{ matrix.os }}
name: Regression tests
steps:
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-20.04' ]
go: [ '1.17' ]
go: [ '1.18' ]
runs-on: ${{ matrix.os }}
name: Lint
steps:
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-20.04' ]
go: [ '1.17' ]
go: [ '1.18' ]
runs-on: ${{ matrix.os }}
name: Release
steps:
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 github.com/obalunenko/advent-of-code

go 1.17
go 1.18

require (
github.com/briandowns/spinner v1.18.1
Expand Down
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/urfave/cli/v2 v2.4.0 h1:m2pxjjDFgDxSPtO8WSdbndj17Wu2y8vOT86wE/tjr+I=
Expand Down
12 changes: 6 additions & 6 deletions tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module github.com/obalunenko/advent-of-code/tools

go 1.17
go 1.18

require (
github.com/axw/gocov v1.0.0
github.com/golangci/golangci-lint v1.45.0
github.com/goreleaser/goreleaser v1.6.3
github.com/goreleaser/goreleaser v1.7.0
github.com/matm/gocov-html v0.0.0-20200509184451-71874e2e203b
github.com/mattn/goveralls v0.0.11
github.com/obalunenko/coverbadger v1.1.0
Expand Down Expand Up @@ -135,15 +135,15 @@ require (
github.com/google/go-cmp v0.5.7 // indirect
github.com/google/go-github/v43 v43.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/rpmpack v0.0.0-20211125064518-d0ed9b1b61b9 // indirect
github.com/google/rpmpack v0.0.0-20220314092521-38642b5e571e // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/wire v0.5.0 // indirect
github.com/googleapis/gax-go/v2 v2.1.1 // indirect
github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8 // indirect
github.com/goreleaser/chglog v0.1.2 // indirect
github.com/goreleaser/fileglob v1.3.0 // indirect
github.com/goreleaser/nfpm/v2 v2.14.0 // indirect
github.com/goreleaser/nfpm/v2 v2.15.0 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
github.com/gostaticanalysis/comment v1.4.2 // indirect
Expand Down Expand Up @@ -237,7 +237,7 @@ require (
github.com/spf13/viper v1.10.1 // indirect
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
github.com/stretchr/objx v0.2.0 // indirect
github.com/stretchr/testify v1.7.0 // indirect
github.com/stretchr/testify v1.7.1 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/sylvia7788/contextcheck v1.0.4 // indirect
github.com/tdakkota/asciicheck v0.1.1 // indirect
Expand All @@ -250,7 +250,7 @@ require (
github.com/ultraware/funlen v0.0.3 // indirect
github.com/ultraware/whitespace v0.0.5 // indirect
github.com/uudashr/gocognit v1.0.5 // indirect
github.com/xanzy/go-gitlab v0.56.0 // indirect
github.com/xanzy/go-gitlab v0.59.0 // indirect
github.com/xanzy/ssh-agent v0.3.1 // indirect
github.com/yagipy/maintidx v1.0.0 // indirect
github.com/yeya24/promlinter v0.1.1-0.20210918184747-d757024714a1 // indirect
Expand Down
Loading

0 comments on commit 46ddc45

Please sign in to comment.