Skip to content

Commit 7878460

Browse files
feat: update go to 1.19 and dependencies
1 parent 9b8b0e3 commit 7878460

File tree

3 files changed

+165
-157
lines changed

3 files changed

+165
-157
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-go@v3
1515
with:
16-
go-version: 1.18
16+
go-version: 1.19
1717
- uses: golangci/golangci-lint-action@v3
1818
test:
1919
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v3
2323
- uses: actions/setup-go@v3
2424
with:
25-
go-version: 1.18
25+
go-version: 1.19
2626
- run: ./scripts/start-gitea.sh
2727
- run: go test -v ./...
2828
build:
@@ -36,7 +36,7 @@ jobs:
3636
- uses: actions/checkout@v3
3737
- uses: actions/setup-go@v3
3838
with:
39-
go-version: 1.18
39+
go-version: 1.19
4040
- run: go build ./cmd/provider-git/
4141
release:
4242
runs-on: ubuntu-latest
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/checkout@v3
4646
- uses: actions/setup-go@v3
4747
with:
48-
go-version: 1.18
48+
go-version: 1.19
4949
- uses: go-semantic-release/action@v1
5050
with:
5151
hooks: goreleaser

go.mod

+38-34
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,65 @@
11
module github.com/go-semantic-release/provider-git
22

3-
go 1.18
3+
go 1.19
44

55
require (
6-
github.com/Masterminds/semver/v3 v3.1.1
7-
github.com/go-git/go-git/v5 v5.4.2
8-
github.com/go-semantic-release/semantic-release/v2 v2.21.0
9-
github.com/stretchr/testify v1.7.1
6+
github.com/Masterminds/semver/v3 v3.2.0
7+
github.com/go-git/go-git/v5 v5.5.2
8+
github.com/go-semantic-release/semantic-release/v2 v2.25.0
9+
github.com/stretchr/testify v1.8.1
1010
)
1111

1212
require (
13-
github.com/Microsoft/go-winio v0.5.2 // indirect
14-
github.com/ProtonMail/go-crypto v0.0.0-20220517143526-88bb52951d5b // indirect
13+
github.com/Microsoft/go-winio v0.6.0 // indirect
14+
github.com/ProtonMail/go-crypto v0.0.0-20230109192245-7efeeb08f296 // indirect
1515
github.com/acomagu/bufpipe v1.0.3 // indirect
16+
github.com/cloudflare/circl v1.3.1 // indirect
1617
github.com/davecgh/go-spew v1.1.1 // indirect
1718
github.com/emirpasic/gods v1.18.1 // indirect
1819
github.com/fatih/color v1.13.0 // indirect
19-
github.com/fsnotify/fsnotify v1.5.4 // indirect
20+
github.com/fsnotify/fsnotify v1.6.0 // indirect
2021
github.com/go-git/gcfg v1.5.0 // indirect
21-
github.com/go-git/go-billy/v5 v5.3.1 // indirect
22+
github.com/go-git/go-billy/v5 v5.4.0 // indirect
2223
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
24+
github.com/hashicorp/go-hclog v1.4.0 // indirect
25+
github.com/hashicorp/go-plugin v1.4.8 // indirect
2526
github.com/hashicorp/hcl v1.0.0 // indirect
26-
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
27-
github.com/imdario/mergo v0.3.12 // indirect
28-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
27+
github.com/hashicorp/yamux v0.1.1 // indirect
28+
github.com/imdario/mergo v0.3.13 // indirect
29+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
2930
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
3031
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
34-
github.com/mitchellh/go-homedir v1.1.0 // indirect
32+
github.com/magiconair/properties v1.8.7 // indirect
33+
github.com/mattn/go-colorable v0.1.13 // indirect
34+
github.com/mattn/go-isatty v0.0.17 // indirect
3535
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
3636
github.com/mitchellh/mapstructure v1.5.0 // indirect
3737
github.com/oklog/run v1.1.0 // indirect
3838
github.com/pelletier/go-toml v1.9.5 // indirect
39-
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
39+
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
40+
github.com/pjbgf/sha1cd v0.2.3 // indirect
4041
github.com/pmezard/go-difflib v1.0.0 // indirect
41-
github.com/sergi/go-diff v1.2.0 // indirect
42-
github.com/spf13/afero v1.8.2 // indirect
42+
github.com/sergi/go-diff v1.3.1 // indirect
43+
github.com/skeema/knownhosts v1.1.0 // indirect
44+
github.com/spf13/afero v1.9.3 // indirect
4345
github.com/spf13/cast v1.5.0 // indirect
44-
github.com/spf13/cobra v1.4.0 // indirect
46+
github.com/spf13/cobra v1.6.1 // indirect
4547
github.com/spf13/jwalterweatherman v1.1.0 // indirect
4648
github.com/spf13/pflag v1.0.5 // indirect
47-
github.com/spf13/viper v1.11.0 // indirect
48-
github.com/subosito/gotenv v1.2.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
49+
github.com/spf13/viper v1.14.0 // indirect
50+
github.com/subosito/gotenv v1.4.2 // indirect
51+
github.com/xanzy/ssh-agent v0.3.3 // indirect
52+
golang.org/x/crypto v0.5.0 // indirect
53+
golang.org/x/mod v0.7.0 // indirect
54+
golang.org/x/net v0.5.0 // indirect
55+
golang.org/x/sys v0.4.0 // indirect
56+
golang.org/x/text v0.6.0 // indirect
57+
golang.org/x/tools v0.5.0 // indirect
58+
google.golang.org/genproto v0.0.0-20230112194545-e10362b5ecf9 // indirect
59+
google.golang.org/grpc v1.52.0 // indirect
60+
google.golang.org/protobuf v1.28.1 // indirect
61+
gopkg.in/ini.v1 v1.67.0 // indirect
5862
gopkg.in/warnings.v0 v0.1.2 // indirect
5963
gopkg.in/yaml.v2 v2.4.0 // indirect
60-
gopkg.in/yaml.v3 v3.0.0 // indirect
64+
gopkg.in/yaml.v3 v3.0.1 // indirect
6165
)

0 commit comments

Comments
 (0)