Skip to content

Commit 2ab8a43

Browse files
feat: update go to 1.18
1 parent 27d75f4 commit 2ab8a43

File tree

3 files changed

+392
-232
lines changed

3 files changed

+392
-232
lines changed

.github/workflows/ci.yml

+11-8
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ 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
build:
1619
runs-on: ${{ matrix.os }}
1720
needs: lint
@@ -20,20 +23,20 @@ jobs:
2023
matrix:
2124
os: [macos-latest, windows-latest, ubuntu-latest]
2225
steps:
23-
- uses: actions/checkout@v2
24-
- uses: actions/setup-go@v2
26+
- uses: actions/checkout@v3
27+
- uses: actions/setup-go@v3
2528
with:
26-
go-version: 1.17
29+
go-version: 1.18
2730
- run: go build ./cmd/files-updater-npm/
2831
- run: go test -v ./...
2932
release:
3033
runs-on: ubuntu-latest
3134
needs: build
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: |
3841
go install github.com/mitchellh/gox@latest
3942
go install github.com/tcnksm/ghr@latest

go.mod

+32-31
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,46 @@
11
module github.com/go-semantic-release/files-updater-npm
22

3-
go 1.17
3+
go 1.18
44

55
require (
6-
github.com/go-semantic-release/semantic-release/v2 v2.12.1
7-
github.com/stretchr/testify v1.6.1
6+
github.com/go-semantic-release/semantic-release/v2 v2.21.0
7+
github.com/stretchr/testify v1.7.1
88
)
99

1010
require (
11-
github.com/Masterminds/semver/v3 v3.1.0 // indirect
11+
github.com/Masterminds/semver/v3 v3.1.1 // indirect
1212
github.com/davecgh/go-spew v1.1.1 // indirect
13-
github.com/fatih/color v1.7.0 // indirect
14-
github.com/fsnotify/fsnotify v1.4.7 // indirect
15-
github.com/golang/protobuf v1.4.3 // indirect
16-
github.com/hashicorp/go-hclog v0.15.0 // indirect
17-
github.com/hashicorp/go-plugin v1.4.0 // indirect
13+
github.com/fatih/color v1.13.0 // indirect
14+
github.com/fsnotify/fsnotify v1.5.4 // indirect
15+
github.com/golang/protobuf v1.5.2 // indirect
16+
github.com/hashicorp/go-hclog v1.2.0 // indirect
17+
github.com/hashicorp/go-plugin v1.4.4 // indirect
1818
github.com/hashicorp/hcl v1.0.0 // indirect
19-
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect
19+
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
2020
github.com/inconshreveable/mousetrap v1.0.0 // indirect
21-
github.com/magiconair/properties v1.8.1 // indirect
22-
github.com/mattn/go-colorable v0.1.4 // indirect
23-
github.com/mattn/go-isatty v0.0.12 // indirect
24-
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
25-
github.com/mitchellh/mapstructure v1.1.2 // indirect
26-
github.com/oklog/run v1.0.0 // indirect
27-
github.com/pelletier/go-toml v1.2.0 // indirect
21+
github.com/magiconair/properties v1.8.6 // indirect
22+
github.com/mattn/go-colorable v0.1.12 // indirect
23+
github.com/mattn/go-isatty v0.0.14 // indirect
24+
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
25+
github.com/mitchellh/mapstructure v1.5.0 // indirect
26+
github.com/oklog/run v1.1.0 // indirect
27+
github.com/pelletier/go-toml v1.9.5 // indirect
28+
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
2829
github.com/pmezard/go-difflib v1.0.0 // indirect
29-
github.com/spf13/afero v1.1.2 // indirect
30-
github.com/spf13/cast v1.3.0 // indirect
31-
github.com/spf13/cobra v1.1.1 // indirect
32-
github.com/spf13/jwalterweatherman v1.0.0 // indirect
30+
github.com/spf13/afero v1.8.2 // indirect
31+
github.com/spf13/cast v1.5.0 // indirect
32+
github.com/spf13/cobra v1.4.0 // indirect
33+
github.com/spf13/jwalterweatherman v1.1.0 // indirect
3334
github.com/spf13/pflag v1.0.5 // indirect
34-
github.com/spf13/viper v1.7.1 // indirect
35+
github.com/spf13/viper v1.11.0 // indirect
3536
github.com/subosito/gotenv v1.2.0 // indirect
36-
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 // indirect
37-
golang.org/x/sys v0.0.0-20201113135734-0a15ea8d9b02 // indirect
38-
golang.org/x/text v0.3.2 // indirect
39-
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect
40-
google.golang.org/grpc v1.33.2 // indirect
41-
google.golang.org/protobuf v1.25.0 // indirect
42-
gopkg.in/ini.v1 v1.51.0 // indirect
43-
gopkg.in/yaml.v2 v2.2.8 // indirect
44-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
37+
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 // indirect
38+
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
39+
golang.org/x/text v0.3.7 // indirect
40+
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd // indirect
41+
google.golang.org/grpc v1.46.2 // indirect
42+
google.golang.org/protobuf v1.28.0 // indirect
43+
gopkg.in/ini.v1 v1.66.4 // indirect
44+
gopkg.in/yaml.v2 v2.4.0 // indirect
45+
gopkg.in/yaml.v3 v3.0.0 // indirect
4546
)

0 commit comments

Comments
 (0)