Skip to content

Commit c9c3293

Browse files
Merge pull request #20 from goark/refactoring
Bump external dependencies
2 parents e6fe008 + f785851 commit c9c3293

File tree

5 files changed

+20
-18
lines changed

5 files changed

+20
-18
lines changed

.goreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
project_name: gnkf
24
release:
35
github:
@@ -23,8 +25,6 @@ builds:
2325
ldflags: -s -w -X github.com/goark/gnkf/facade.Version=v{{ .Version }}
2426
binary: gnkf
2527

26-
source:
27-
rlcp: true
2828
archives:
2929
-
3030
format: tar.gz
@@ -56,7 +56,7 @@ changelog:
5656
- Merge branch
5757

5858
snapshot:
59-
name_template: SNAPSHOT-{{ .Commit }}
59+
version_template: SNAPSHOT-{{ .Commit }}
6060

6161
checksum:
6262
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'

Taskfile.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3'
33
tasks:
44
default:
55
cmds:
6-
- task: clean
6+
- task: prepare
77
- task: test
88
- task: nancy
99
- task: graph
@@ -18,7 +18,7 @@ tasks:
1818
cmds:
1919
- go mod verify
2020
- go test -shuffle on ./...
21-
- docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.55.2 golangci-lint run --enable gosec --exclude "G501|G505" --timeout 3m0s ./...
21+
- golangci-lint run --enable gosec --exclude "G501|G505" --timeout 3m0s ./...
2222
sources:
2323
- ./go.mod
2424
- '**/*.go'
@@ -31,13 +31,15 @@ tasks:
3131
- ./go.mod
3232
- '**/*.go'
3333

34+
prepare:
35+
- go mod tidy -v -go=1.23
36+
3437
clean:
3538
desc: Initialize module and build cache, and remake go.sum file.
3639
cmds:
3740
- rm -f ./go.sum
3841
- go clean -cache
3942
- go clean -modcache
40-
- go mod tidy -v -go=1.21
4143

4244
graph:
4345
desc: Make grapth of dependency modules.

dependency.png

-77 Bytes
Loading

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
module github.com/goark/gnkf
22

3-
go 1.21
3+
go 1.23
44

5-
toolchain go1.21.5
5+
toolchain go1.23.4
66

77
require (
88
github.com/goark/csvdata v0.7.3
99
github.com/goark/errs v1.3.2
1010
github.com/goark/gocli v0.13.0
1111
github.com/goark/kkconv v0.3.3
1212
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d
13-
github.com/spf13/cobra v1.8.0
14-
golang.org/x/crypto v0.17.0
15-
golang.org/x/text v0.14.0
13+
github.com/spf13/cobra v1.8.1
14+
golang.org/x/crypto v0.31.0
15+
golang.org/x/text v0.21.0
1616
)
1717

1818
require (

go.sum

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
1+
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
22
github.com/goark/csvdata v0.7.3 h1:IkWPbaeIEVH6jEw0G18OTEPaE4s8RQN8a2k2ooDFx2g=
33
github.com/goark/csvdata v0.7.3/go.mod h1:vhn11zhff8ORS4ZkiTJv/EHXOQqk29jKGo7MYL8Rp0I=
44
github.com/goark/errs v1.3.2 h1:ifccNe1aK7Xezt4XVYwHUqalmnfhuphnEvh3FshCReQ=
@@ -12,13 +12,13 @@ github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLf
1212
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
1313
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d h1:hrujxIzL1woJ7AwssoOcM/tq5JjjG2yYOc8odClEiXA=
1414
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d/go.mod h1:uugorj2VCxiV1x+LzaIdVa9b4S4qGAcH6cbhh4qVxOU=
15-
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
16-
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
15+
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
16+
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
1717
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
1818
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
19-
golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
20-
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
21-
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
22-
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
19+
golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U=
20+
golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
21+
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
22+
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
2323
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2424
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)