Skip to content

Commit 7f804cd

Browse files
feat: update go to 1.18
1 parent 09fdb95 commit 7f804cd

File tree

3 files changed

+408
-241
lines changed

3 files changed

+408
-241
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
- uses: golangci/golangci-lint-action@v2
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-go@v3
15+
with:
16+
go-version: 1.18
17+
- uses: golangci/golangci-lint-action@v3
1518
test:
1619
runs-on: ubuntu-latest
1720
needs: lint
1821
steps:
19-
- uses: actions/checkout@v2
20-
- uses: actions/setup-go@v2
22+
- uses: actions/checkout@v3
23+
- uses: actions/setup-go@v3
2124
with:
22-
go-version: 1.17
25+
go-version: 1.18
2326
- run: ./scripts/start-gitea.sh
2427
- run: go test -v ./...
2528
build:
@@ -30,19 +33,19 @@ jobs:
3033
matrix:
3134
os: [macos-latest, windows-latest, ubuntu-latest]
3235
steps:
33-
- uses: actions/checkout@v2
34-
- uses: actions/setup-go@v2
36+
- uses: actions/checkout@v3
37+
- uses: actions/setup-go@v3
3538
with:
36-
go-version: 1.17
39+
go-version: 1.18
3740
- run: go build ./cmd/provider-git/
3841
release:
3942
runs-on: ubuntu-latest
4043
needs: build
4144
steps:
42-
- uses: actions/checkout@v2
43-
- uses: actions/setup-go@v2
45+
- uses: actions/checkout@v3
46+
- uses: actions/setup-go@v3
4447
with:
45-
go-version: 1.17
48+
go-version: 1.18
4649
- run: |
4750
go install github.com/mitchellh/gox@latest
4851
go install github.com/tcnksm/ghr@latest

go.mod

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,61 @@
11
module github.com/go-semantic-release/provider-git
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/Masterminds/semver/v3 v3.1.1
77
github.com/go-git/go-git/v5 v5.4.2
8-
github.com/go-semantic-release/semantic-release/v2 v2.16.4
9-
github.com/stretchr/testify v1.7.0
8+
github.com/go-semantic-release/semantic-release/v2 v2.21.0
9+
github.com/stretchr/testify v1.7.1
1010
)
1111

1212
require (
13-
github.com/Microsoft/go-winio v0.4.16 // indirect
14-
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
13+
github.com/Microsoft/go-winio v0.5.2 // indirect
14+
github.com/ProtonMail/go-crypto v0.0.0-20220517143526-88bb52951d5b // indirect
1515
github.com/acomagu/bufpipe v1.0.3 // indirect
1616
github.com/davecgh/go-spew v1.1.1 // indirect
17-
github.com/emirpasic/gods v1.12.0 // indirect
18-
github.com/fatih/color v1.7.0 // indirect
19-
github.com/fsnotify/fsnotify v1.4.7 // indirect
17+
github.com/emirpasic/gods v1.18.1 // indirect
18+
github.com/fatih/color v1.13.0 // indirect
19+
github.com/fsnotify/fsnotify v1.5.4 // indirect
2020
github.com/go-git/gcfg v1.5.0 // indirect
2121
github.com/go-git/go-billy/v5 v5.3.1 // indirect
22-
github.com/golang/protobuf v1.4.3 // indirect
23-
github.com/hashicorp/go-hclog v0.15.0 // indirect
24-
github.com/hashicorp/go-plugin v1.4.0 // indirect
22+
github.com/golang/protobuf v1.5.2 // indirect
23+
github.com/hashicorp/go-hclog v1.2.0 // indirect
24+
github.com/hashicorp/go-plugin v1.4.4 // indirect
2525
github.com/hashicorp/hcl v1.0.0 // indirect
26-
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect
26+
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
2727
github.com/imdario/mergo v0.3.12 // indirect
2828
github.com/inconshreveable/mousetrap v1.0.0 // indirect
2929
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
30-
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
31-
github.com/magiconair/properties v1.8.1 // indirect
32-
github.com/mattn/go-colorable v0.1.4 // indirect
33-
github.com/mattn/go-isatty v0.0.12 // indirect
30+
github.com/kevinburke/ssh_config v1.2.0 // indirect
31+
github.com/magiconair/properties v1.8.6 // indirect
32+
github.com/mattn/go-colorable v0.1.12 // indirect
33+
github.com/mattn/go-isatty v0.0.14 // indirect
3434
github.com/mitchellh/go-homedir v1.1.0 // indirect
35-
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
36-
github.com/mitchellh/mapstructure v1.1.2 // indirect
37-
github.com/oklog/run v1.0.0 // indirect
38-
github.com/pelletier/go-toml v1.2.0 // indirect
35+
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
36+
github.com/mitchellh/mapstructure v1.5.0 // indirect
37+
github.com/oklog/run v1.1.0 // indirect
38+
github.com/pelletier/go-toml v1.9.5 // indirect
39+
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
3940
github.com/pmezard/go-difflib v1.0.0 // indirect
40-
github.com/sergi/go-diff v1.1.0 // indirect
41-
github.com/spf13/afero v1.1.2 // indirect
42-
github.com/spf13/cast v1.3.0 // indirect
43-
github.com/spf13/cobra v1.1.1 // indirect
44-
github.com/spf13/jwalterweatherman v1.0.0 // indirect
41+
github.com/sergi/go-diff v1.2.0 // indirect
42+
github.com/spf13/afero v1.8.2 // indirect
43+
github.com/spf13/cast v1.5.0 // indirect
44+
github.com/spf13/cobra v1.4.0 // indirect
45+
github.com/spf13/jwalterweatherman v1.1.0 // indirect
4546
github.com/spf13/pflag v1.0.5 // indirect
46-
github.com/spf13/viper v1.7.1 // indirect
47+
github.com/spf13/viper v1.11.0 // indirect
4748
github.com/subosito/gotenv v1.2.0 // indirect
48-
github.com/xanzy/ssh-agent v0.3.0 // indirect
49-
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b // indirect
50-
golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect
51-
golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79 // indirect
52-
golang.org/x/text v0.3.3 // indirect
53-
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect
54-
google.golang.org/grpc v1.33.2 // indirect
55-
google.golang.org/protobuf v1.25.0 // indirect
56-
gopkg.in/ini.v1 v1.51.0 // indirect
49+
github.com/xanzy/ssh-agent v0.3.1 // indirect
50+
golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898 // indirect
51+
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 // indirect
52+
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
53+
golang.org/x/text v0.3.7 // indirect
54+
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd // indirect
55+
google.golang.org/grpc v1.46.2 // indirect
56+
google.golang.org/protobuf v1.28.0 // indirect
57+
gopkg.in/ini.v1 v1.66.4 // indirect
5758
gopkg.in/warnings.v0 v0.1.2 // indirect
58-
gopkg.in/yaml.v2 v2.3.0 // indirect
59-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
59+
gopkg.in/yaml.v2 v2.4.0 // indirect
60+
gopkg.in/yaml.v3 v3.0.0 // indirect
6061
)

0 commit comments

Comments
 (0)