Skip to content

Commit 16db04f

Browse files
authored
update dependencies 202603 (#9)
* update dependencies 202603 * update: bump version to v0.3.2 and update Go version to 1.26.1 * fix: update error message formatting in TestMin function
1 parent 1b205a0 commit 16db04f

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/lint_and_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ on:
55
push:
66

77
env:
8-
go-version: 1.25
8+
go-version: 1.26
99

1010
jobs:
1111
unit-test:
1212
timeout-minutes: 20
1313
runs-on: ubuntu-24.04
1414
steps:
15-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616

17-
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
17+
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
1818
with:
1919
go-version: ${{ env.go-version }}
2020

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
GIT := git
22
PRE_COMMIT := pre-commit
33

4-
JSONNET_VERSION := v0.21.0
5-
GOLANGCI_VERSION := v2.8.0
4+
JSONNET_VERSION := v0.22.0
5+
GOLANGCI_VERSION := v2.11.4
66

7-
VERSION := v0.3.1
7+
VERSION := v0.3.2
88

99
.PHONY: fmt
1010
fmt:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Add the following to your `.pre-commit-config.yaml`:
1111
```yaml
1212
repos:
1313
- repo: https://github.com/cybozu/pre-commit-jsonnet
14-
rev: v0.3.1
14+
rev: v0.3.2
1515
hooks:
1616
- id: jsonnet-fmt
1717
args: ["--test"] # you can specify any options of jsonnetfmt command

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/cybozu/pre-commit-jsonnet
22

3-
go 1.25
3+
go 1.26.1
44

5-
require golang.org/x/exp v0.0.0-20260112195511-716be5621a96
5+
require golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90
66

77
require github.com/sergi/go-diff v1.4.0
88

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepq
1111
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
1212
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
1313
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
14-
golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU=
15-
golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU=
14+
golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90 h1:jiDhWWeC7jfWqR9c/uplMOqJ0sbNlNWv0UkzE0vX1MA=
15+
golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90/go.mod h1:xE1HEv6b+1SCZ5/uscMRjUBKtIxworgEcEi+/n9NQDQ=
1616
golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ=
1717
golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
1818
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

hooks/jsonnet-fmt-hook/math_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestMin(t *testing.T) {
2626
for _, param := range params {
2727
got := min(param.values[0], param.values[1])
2828
if got != param.want {
29-
t.Errorf("args='%q', want=%v, got=%v", param.values, param.want, got)
29+
t.Errorf("args=%v, want=%v, got=%v", param.values, param.want, got)
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)