Skip to content

Commit b5c912c

Browse files
committed
feat: update go and all deps
1 parent 738cf5a commit b5c912c

39 files changed

+114
-89
lines changed

.github/workflows/development.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
- name: Setup Golang
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: ^1.21.6
23+
go-version: ^1.22.2
2424
- name: Setup workspace
2525
run: cp go.work.dist go.work
2626
- name: Download golangci-lint installer
2727
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh -o /tmp/install-golangci-lint.sh
2828
- name: Install golangci-lint
29-
run: sh /tmp/install-golangci-lint.sh -b /usr/local/bin v1.55.2
29+
run: sh /tmp/install-golangci-lint.sh -b /usr/local/bin v1.57.2
3030
- name: Lint Go files
3131
run: ./scripts/lint-golang.sh
3232
- name: Run tests
@@ -37,7 +37,7 @@ jobs:
3737
uses: goreleaser/goreleaser-action@v5
3838
with:
3939
distribution: goreleaser
40-
version: 1.23.0
40+
version: 1.25.1
4141
args: release --debug --snapshot --clean
4242
env:
43-
GO_VERSION: 1.21.6
43+
GO_VERSION: 1.22.2

.github/workflows/prerelease.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
- name: Setup Golang
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: ^1.21.6
25+
go-version: ^1.22.2
2626
- name: Setup workspace
2727
run: cp go.work.dist go.work
2828
- name: Run GoReleaser for release
2929
uses: goreleaser/goreleaser-action@v5
3030
with:
3131
distribution: goreleaser
32-
version: 1.23.0
32+
version: 1.25.1
3333
args: release --debug --clean
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
36-
GO_VERSION: 1.21.6
36+
GO_VERSION: 1.22.2

.github/workflows/release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Golang
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: ^1.21.6
25+
go-version: ^1.22.2
2626
- name: Setup workspace
2727
run: cp go.work.dist go.work
2828
- name: Log in to Docker Hub
@@ -35,8 +35,8 @@ jobs:
3535
uses: goreleaser/goreleaser-action@v5
3636
with:
3737
distribution: goreleaser
38-
version: 1.23.0
38+
version: 1.25.1
3939
args: release --debug --clean
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
42-
GO_VERSION: 1.21.6
42+
GO_VERSION: 1.22.2

.rules/.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ linters-settings:
7676
capital: true
7777
period: true
7878
gofumpt:
79-
lang-version: "1.21"
79+
lang-version: "1.22"
8080
extra-rules: true
8181
goimports:
8282
local-prefixes: github.com/atombender

.tool-versions

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
adr-tools 3.0.0
22
golang 1.22.2
33
golangci-lint 1.57.2
4-
goreleaser 1.23.0
4+
goreleaser 1.25.1
55
hadolint 2.12.0
6-
markdownlint-cli2 0.12.1
6+
markdownlint-cli2 0.13.0
77
shellcheck 0.10.0
88
shfmt 3.8.0
9-
yamllint 1.33.0
9+
yamllint 1.35.1

Makefile

+23-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ SHELL := /bin/bash
88
# ----------------------------------------------------------------------------------------------------------------------
99

1010
_DOCKER_FILELINT_IMAGE=cytopia/file-lint:latest-0.8
11-
_DOCKER_GOLANG_IMAGE=golang:1.21.6
12-
_DOCKER_GOLANGCI_LINT_IMAGE=golangci/golangci-lint:v1.55.2
11+
_DOCKER_GOLANG_IMAGE=golang:1.22.2
12+
_DOCKER_GOLANGCI_LINT_IMAGE=golangci/golangci-lint:v1.57.2
1313
_DOCKER_HADOLINT_IMAGE=hadolint/hadolint:v2.12.0
1414
_DOCKER_JSONLINT_IMAGE=cytopia/jsonlint:1.6
1515
_DOCKER_MAKEFILELINT_IMAGE=cytopia/checkmake:latest-0.5
@@ -172,6 +172,27 @@ docker-build:
172172
docker-tools:
173173
@scripts/docker-tools.sh
174174

175+
.PHONY: asdf-install-tools asdf-update-tools
176+
177+
asdf-install-tools:
178+
@scripts/asdf-add-plugins.sh
179+
@asdf install
180+
181+
asdf-update-tools:
182+
@scripts/asdf-update-tools.sh
183+
@asdf install
184+
185+
.PHONY: golang-check-updates golang-update golang-install-tools
186+
187+
golang-check-update-deps:
188+
@scripts/upgrade-deps-check-golang.sh
189+
190+
golang-update-deps:
191+
@scripts/upgrade-deps-golang.sh
192+
193+
golang-install-tools:
194+
@scripts/golang-install-tools.sh
195+
175196
# ----------------------------------------------------------------------------------------------------------------------
176197
# Golang Targets
177198
# ----------------------------------------------------------------------------------------------------------------------

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ along with unmarshalling code that validates the input JSON according to the sch
88
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/omissis/go-jsonschema?style=flat)](https://github.com/omissis/go-jsonschema/releases/latest)
99
[![GitHub Workflow Status (event)](https://img.shields.io/github/actions/workflow/status/omissis/go-jsonschema/development.yaml?style=flat)](https://github.com/omissis/go-jsonschema/actions?workflow=development)
1010
[![License](https://img.shields.io/github/license/omissis/go-jsonschema?style=flat)](/LICENSE.md)
11-
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/omissis/go-jsonschema?style=flat)](https://tip.golang.org/doc/go1.21)
11+
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/omissis/go-jsonschema?style=flat)](https://tip.golang.org/doc/go1.22)
1212
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/omissis/go-jsonschema?style=flat)](https://github.com/omissis/go-jsonschema)
1313
[![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/omissis/go-jsonschema?style=flat)](https://github.com/omissis/go-jsonschema)
1414
[![GitHub all releases](https://img.shields.io/github/downloads/omissis/go-jsonschema/total?style=flat)](https://github.com/omissis/go-jsonschema)

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/atombender/go-jsonschema
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/goccy/go-yaml v1.11.3
@@ -17,6 +17,6 @@ require (
1717
github.com/mattn/go-colorable v0.1.13 // indirect
1818
github.com/mattn/go-isatty v0.0.20 // indirect
1919
github.com/spf13/pflag v1.0.5 // indirect
20-
golang.org/x/sys v0.16.0 // indirect
20+
golang.org/x/sys v0.19.0 // indirect
2121
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
2222
)

go.sum

+2-24
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD87
99
github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA=
1010
github.com/go-playground/validator/v10 v10.4.1 h1:pH2c5ADXtd66mxoE0Zm9SUhxE20r7aM3F26W0hOn+GE=
1111
github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4=
12-
github.com/goccy/go-yaml v1.11.2 h1:joq77SxuyIs9zzxEjgyLBugMQ9NEgTWxXfz2wVqwAaQ=
13-
github.com/goccy/go-yaml v1.11.2/go.mod h1:wKnAMd44+9JAAnGQpWVEgBzGt3YuTaQ4uXoHvE4m7WU=
1412
github.com/goccy/go-yaml v1.11.3 h1:B3W9IdWbvrUu2OYQGwvU1nZtvMQJPBKgBUuweJjLj6I=
1513
github.com/goccy/go-yaml v1.11.3/go.mod h1:wKnAMd44+9JAAnGQpWVEgBzGt3YuTaQ4uXoHvE4m7WU=
1614
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
@@ -41,32 +39,12 @@ github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312 h1:UsFdQ3ZmlzS0Bq
4139
github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
4240
golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A=
4341
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
44-
golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 h1:hNQpMuAJe5CtcUqCXaWga3FHu+kQvCqcsoVaQgSV60o=
45-
golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08=
46-
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a h1:Q8/wZp0KX97QFTc2ywcOE0YRjZPVIx+MXInMzdvQqcA=
47-
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08=
48-
golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3 h1:/RIbNt/Zr7rVhIkQhooTxCxFcdWLGIKnZA4IXNFSrvo=
49-
golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08=
50-
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE=
51-
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc=
52-
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 h1:LfspQV/FYTatPTr/3HzIcmiUFH7PGP+OQ6mgDYo3yuQ=
53-
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc=
54-
golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f h1:3CW0unweImhOzd5FmYuRsD4Y4oQFKZIjAnKbjV4WIrw=
55-
golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc=
56-
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 h1:6R2FC06FonbXQ8pK11/PDFY6N6LWlf9KlzibaCapmqc=
57-
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ=
58-
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 h1:aAcj0Da7eBAtrTp03QXWvm88pSyOt+UgdZw2BFZ+lEw=
59-
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ=
60-
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 h1:985EYyeCOxTpcgOTJpflJUwOeEz0CQOdPt73OzpE9F8=
61-
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0/go.mod h1:/lliqkxwWAhPjf5oSOIJup2XcqJaw8RGS6k3TGEc7GI=
62-
golang.org/x/exp v0.0.0-20240409090435-93d18d7e34b8 h1:ESSUROHIBHg7USnszlcdmjBEwdMj9VUvU+OPk4yl2mc=
63-
golang.org/x/exp v0.0.0-20240409090435-93d18d7e34b8/go.mod h1:/lliqkxwWAhPjf5oSOIJup2XcqJaw8RGS6k3TGEc7GI=
6442
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f h1:99ci1mjWVBWwJiEKYY6jWa4d2nTQVIEhZIptnrVb1XY=
6543
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f/go.mod h1:/lliqkxwWAhPjf5oSOIJup2XcqJaw8RGS6k3TGEc7GI=
6644
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6745
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
68-
golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU=
69-
golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
46+
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
47+
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
7048
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU=
7149
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=
7250
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

go.work.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
go 1.21
1+
go 1.22
22

33
use (
44
.

go.work.sum

+26
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
1+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2+
github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM=
3+
github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
14
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
5+
github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
6+
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
7+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
8+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
9+
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
210
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
11+
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
12+
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
313
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
414
golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
515
golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
16+
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
17+
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
618
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
719
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
20+
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
21+
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
22+
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
23+
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
24+
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
25+
golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
26+
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
27+
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
28+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
29+
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
30+
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
831
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
932
golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg=
1033
golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps=
34+
golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg=
35+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
36+
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
File renamed without changes.

scripts/update-asdf-tools.sh scripts/asdf-update-tools.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
set -e
66
set -o errexit -o nounset
77

8-
cut -d ' ' -f 1 < .tool-versions |
9-
xargs -I {} -n 1 sh -c 'echo {} $(asdf latest {} 2>/dev/null)' |
10-
sed 's/^jq$/jq 1.6/g' > .tool-versions.tmp
8+
cut -d ' ' -f 1 < .tool-versions | \
9+
xargs -I {} -n 1 sh -c 'echo {} $(asdf latest {} 2>/dev/null)' > \
10+
.tool-versions.tmp
1111

1212
mv .tool-versions.tmp .tool-versions

scripts/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/docker-build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/docker-tools.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/format-file.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/format-golang.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/format-json.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/format-markdown.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/format-shell.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/format-yaml.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/tools-golang.sh scripts/golang-install-tools.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset
55

66
CHECKMAKE_VERSION="0.2.2"
7-
GCI_VERSION="v0.12.1"
8-
GINKGO_VERSION="v2.14.0"
9-
GO_COVER_TREEMAP_VERSION="v1.3.0"
10-
GOFUMPT_VERSION="v0.5.0"
11-
GOIMPORTS_VERSION="v0.17.0"
12-
GOLANGCI_LINT_VERSION="v1.55.2"
7+
GCI_VERSION="v0.13.4"
8+
GINKGO_VERSION="v2.17.1"
9+
GO_COVER_TREEMAP_VERSION="v1.4.2"
10+
GOFUMPT_VERSION="v0.6.0"
11+
GOIMPORTS_VERSION="v0.20.0"
12+
GOLANGCI_LINT_VERSION="v1.57.2"
1313

1414
go install "github.com/daixiang0/gci@${GCI_VERSION}"
1515
go install "github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}"

scripts/upgrade-deps-check-golang.sh scripts/golang-upgrade-deps-check.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/upgrade-deps-golang.sh scripts/golang-upgrade-deps.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/lint-dockerfile.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/lint-file.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/lint-golang.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/lint-json.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/lint-makefile.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/lint-markdown.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/lint-shell.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/lint-yaml.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

scripts/show-coverage-golang.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -x
1+
#!/bin/sh
22

33
set -e
44
set -o errexit -o nounset

0 commit comments

Comments
 (0)