Skip to content

Commit eee7416

Browse files
authored
Merge pull request #36 from twpayne/update-deps
Update dependencies
2 parents abd21fd + 83c65dc commit eee7416

File tree

4 files changed

+34
-24
lines changed

4 files changed

+34
-24
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
14-
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
13+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
14+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
1515
- run: go build ./...
1616
- run: go test ./...
1717
- id: generate
@@ -21,8 +21,8 @@ jobs:
2121
lint:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
25-
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
26-
- uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804
24+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
25+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
26+
- uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64
2727
with:
28-
version: v1.52.2
28+
version: v1.59.1

.golangci.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,30 @@ linters:
77
- containedctx
88
- contextcheck
99
- decorder
10-
- depguard
1110
- dogsled
1211
- dupl
1312
- dupword
1413
- durationcheck
14+
- err113
1515
- errcheck
1616
- errchkjson
1717
- errname
1818
- errorlint
19-
- execinquery
2019
- exhaustive
2120
- exportloopref
21+
- fatcontext
2222
- forbidigo
2323
- forcetypeassert
2424
- gci
2525
- ginkgolinter
2626
- gocheckcompilerdirectives
2727
- gochecknoinits
28+
- gochecksumtype
2829
- gocognit
2930
- goconst
3031
- gocritic
3132
- gocyclo
3233
- godot
33-
- goerr113
3434
- gofmt
3535
- gofumpt
3636
- goheader
@@ -40,14 +40,17 @@ linters:
4040
- goprintffuncname
4141
- gosec
4242
- gosimple
43+
- gosmopolitan
4344
- govet
4445
- grouper
4546
- importas
47+
- inamedparam
4648
- ineffassign
4749
- interfacebloat
4850
- ireturn
4951
- loggercheck
5052
- makezero
53+
- mirror
5154
- misspell
5255
- musttag
5356
- nakedret
@@ -58,17 +61,23 @@ linters:
5861
- nolintlint
5962
- nonamedreturns
6063
- nosprintfhostport
64+
- perfsprint
6165
- prealloc
6266
- predeclared
6367
- promlinter
68+
- protogetter
6469
- reassign
6570
- revive
6671
- rowserrcheck
72+
- sloglint
73+
- spancheck
6774
- sqlclosecheck
6875
- staticcheck
6976
- stylecheck
77+
- tagalign
7078
- tagliatelle
7179
- tenv
80+
- testifylint
7281
- testpackage
7382
- thelper
7483
- tparallel
@@ -79,9 +88,11 @@ linters:
7988
- usestdlibvars
8089
- wastedassign
8190
- whitespace
91+
- zerologlint
8292
disable:
93+
- canonicalheader
8394
- cyclop
84-
- exhaustivestruct
95+
- depguard
8596
- exhaustruct
8697
- funlen
8798
- gochecknoglobals
@@ -91,7 +102,6 @@ linters:
91102
- maintidx
92103
- nlreturn
93104
- paralleltest
94-
- structcheck # https://github.com/golangci/golangci-lint/issues/2649
95105
- testableexamples
96106
- varnamelen
97107
- wrapcheck
@@ -130,5 +140,5 @@ issues:
130140
- gosec
131141
path: "internal/"
132142
- linters:
133-
- goerr113
143+
- err113
134144
text: do not define dynamic errors, use wrapped static errors instead

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module github.com/twpayne/go-kml/v3
33
go 1.21
44

55
require (
6-
github.com/alecthomas/assert/v2 v2.8.1
7-
github.com/twpayne/go-gpx v1.3.1
6+
github.com/alecthomas/assert/v2 v2.10.0
7+
github.com/twpayne/go-gpx v1.3.2
88
github.com/twpayne/go-polyline v1.1.1
99
github.com/twpayne/go-waypoint v0.1.0
1010
)
@@ -13,6 +13,6 @@ require (
1313
github.com/alecthomas/repr v0.4.0 // indirect
1414
github.com/hexops/gotextdiff v1.0.3 // indirect
1515
github.com/twpayne/go-geom v1.5.4 // indirect
16-
golang.org/x/net v0.24.0 // indirect
17-
golang.org/x/text v0.14.0 // indirect
16+
golang.org/x/net v0.27.0 // indirect
17+
golang.org/x/text v0.16.0 // indirect
1818
)

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/alecthomas/assert/v2 v2.8.1 h1:YCxnYR6jjpfnEK5AK5SysALKdUEBPGH4Y7As6tBnDw0=
2-
github.com/alecthomas/assert/v2 v2.8.1/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
1+
github.com/alecthomas/assert/v2 v2.10.0 h1:jjRCHsj6hBJhkmhznrCzoNpbA3zqy0fYiUcYZP/GkPY=
2+
github.com/alecthomas/assert/v2 v2.10.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
33
github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=
44
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
55
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -17,16 +17,16 @@ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5Cc
1717
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
1818
github.com/twpayne/go-geom v1.5.4 h1:b8fiZd0SsEmQEeUdz2atT6KggF1KHiaZIi3DGi5p+sI=
1919
github.com/twpayne/go-geom v1.5.4/go.mod h1:Hw8RszQ2/d9Y/KfOm9CvUJo78BOoIA5g0e4P7JCVKvo=
20-
github.com/twpayne/go-gpx v1.3.1 h1:V7fjRvQa4Hl5kEgft7JGOQYhOtPEBFbsd/5Eao4LgBM=
21-
github.com/twpayne/go-gpx v1.3.1/go.mod h1:cOFdNmqGjdjb3POPoecMEUko160iS9AuJvknftGW7jI=
20+
github.com/twpayne/go-gpx v1.3.2 h1:EdWLZDscyq2WzZD2fJJCUIHtLH57ZUIKsDT8KisjJcY=
21+
github.com/twpayne/go-gpx v1.3.2/go.mod h1:srKQX/6dZGwNc2273H95Kim1GxsapjWESXxaw6jE6CQ=
2222
github.com/twpayne/go-polyline v1.1.1 h1:/tSF1BR7rN4HWj4XKqvRUNrCiYVMCvywxTFVofvDV0w=
2323
github.com/twpayne/go-polyline v1.1.1/go.mod h1:ybd9IWWivW/rlXPXuuckeKUyF3yrIim+iqA7kSl4NFY=
2424
github.com/twpayne/go-waypoint v0.1.0 h1:Ds5iK1+ag9MM9Y7Uiig1nzgD39Z402vYkpp1j+c/Y3Q=
2525
github.com/twpayne/go-waypoint v0.1.0/go.mod h1:iLAdRKZJUaMhj2nzYl9cLV3hbxol5vnI2VPmWLCDRuU=
26-
golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
27-
golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
28-
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
29-
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
26+
golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys=
27+
golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE=
28+
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
29+
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
3030
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
3131
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
3232
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=

0 commit comments

Comments
 (0)