Skip to content

Commit e04a107

Browse files
jauderhopiksel
andauthored
chore(deps): update go version to 1.18 (#1363)
Co-authored-by: nils måsén <[email protected]>
1 parent 964879d commit e04a107

File tree

10 files changed

+60
-334
lines changed

10 files changed

+60
-334
lines changed

.github/workflows/pull-request.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,17 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v3
2020
with:
21-
go-version: 1.15.x
22-
- name: Install linter
23-
run: |
24-
go get -u golang.org/x/lint/golint
25-
- name: Lint files
26-
run: |
27-
golint -set_exit_status ./...
21+
go-version: 1.18.x
22+
- uses: dominikh/[email protected]
23+
with:
24+
version: "2022.1.1"
2825
test:
2926
name: Test
3027
strategy:
3128
fail-fast: false
3229
matrix:
3330
go-version:
34-
- 1.15.x
31+
- 1.18.x
3532
platform:
3633
- macos-latest
3734
- windows-latest
@@ -45,7 +42,7 @@ jobs:
4542
- name: Set up Go
4643
uses: actions/setup-go@v3
4744
with:
48-
go-version: 1.15.x
45+
go-version: 1.18.x
4946
- name: Run tests
5047
run: |
5148
go test -v -coverprofile coverage.out -covermode atomic ./...
@@ -64,7 +61,7 @@ jobs:
6461
- name: Set up Go
6562
uses: actions/setup-go@v3
6663
with:
67-
go-version: 1.15.x
64+
go-version: 1.18.x
6865
- name: Build
6966
uses: goreleaser/goreleaser-action@v3
7067
with:

.github/workflows/release-dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Go
1515
uses: actions/setup-go@v3
1616
with:
17-
go-version: 1.15
17+
go-version: 1.18
1818
- name: Build
1919
run: ./build.sh
2020
test:
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Go
2525
uses: actions/setup-go@v3
2626
with:
27-
go-version: 1.15
27+
go-version: 1.18
2828
- name: Test
2929
run: go test -v -coverprofile coverage.out -covermode atomic ./...
3030
- name: Publish coverage

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v3
2323
with:
24-
go-version: 1.15.x
24+
go-version: 1.18.x
2525
- name: Install linter
2626
run: |
2727
go get -u golang.org/x/lint/golint
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
matrix:
3636
go-version:
37-
- 1.15.x
37+
- 1.18.x
3838
platform:
3939
- ubuntu-latest
4040
- macos-latest
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up Go
4949
uses: actions/setup-go@v3
5050
with:
51-
go-version: 1.15.x
51+
go-version: 1.18.x
5252
- name: Run tests
5353
run: |
5454
go test ./... -coverprofile coverage.out
@@ -70,7 +70,7 @@ jobs:
7070
- name: Set up Go
7171
uses: actions/setup-go@v3
7272
with:
73-
go-version: 1.15.x
73+
go-version: 1.18.x
7474
- name: Login to Docker Hub
7575
uses: docker/login-action@v2
7676
with:

go.mod

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/containrrr/watchtower
22

3-
go 1.12
3+
go 1.18
44

55
require (
66
github.com/containrrr/shoutrrr v0.6.1
@@ -22,6 +22,40 @@ require (
2222
)
2323

2424
require (
25+
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
26+
github.com/beorn7/perks v1.0.1 // indirect
27+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
28+
github.com/davecgh/go-spew v1.1.1 // indirect
29+
github.com/fatih/color v1.13.0 // indirect
30+
github.com/fsnotify/fsnotify v1.5.4 // indirect
31+
github.com/gogo/protobuf v1.3.2 // indirect
32+
github.com/golang/protobuf v1.5.2 // indirect
33+
github.com/google/go-cmp v0.5.8 // indirect
34+
github.com/hashicorp/hcl v1.0.0 // indirect
35+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
36+
github.com/magiconair/properties v1.8.6 // indirect
37+
github.com/mattn/go-colorable v0.1.12 // indirect
38+
github.com/mattn/go-isatty v0.0.14 // indirect
39+
github.com/mitchellh/mapstructure v1.5.0 // indirect
40+
github.com/nxadm/tail v1.4.8 // indirect
41+
github.com/pelletier/go-toml v1.9.5 // indirect
42+
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
43+
github.com/pkg/errors v0.9.1 // indirect
44+
github.com/pmezard/go-difflib v1.0.0 // indirect
45+
github.com/prometheus/client_model v0.2.0 // indirect
46+
github.com/prometheus/common v0.26.0 // indirect
47+
github.com/prometheus/procfs v0.6.0 // indirect
48+
github.com/spf13/afero v1.8.2 // indirect
49+
github.com/spf13/cast v1.5.0 // indirect
50+
github.com/spf13/jwalterweatherman v1.1.0 // indirect
51+
github.com/stretchr/objx v0.4.0 // indirect
52+
github.com/subosito/gotenv v1.3.0 // indirect
53+
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
54+
google.golang.org/protobuf v1.28.0 // indirect
55+
gopkg.in/ini.v1 v1.66.4 // indirect
56+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
57+
gopkg.in/yaml.v2 v2.4.0 // indirect
58+
gopkg.in/yaml.v3 v3.0.1 // indirect
2559
github.com/Microsoft/go-winio v0.4.17 // indirect
2660
github.com/docker/docker-credential-helpers v0.6.1 // indirect
2761
github.com/docker/go-units v0.4.0 // indirect

0 commit comments

Comments
 (0)