Skip to content

Commit 96ef05e

Browse files
committed
chore: update deps
1 parent 9971697 commit 96ef05e

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ jobs:
44
test:
55
strategy:
66
matrix:
7-
go-version: [1.20]
7+
go-version: ['1.24']
88
os: [ubuntu-latest, macos-latest, windows-latest]
99
runs-on: ${{ matrix.os }}
1010
steps:
1111

12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-go@v2
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-go@v5
1414
with:
15-
go-version: 1.20
15+
go-version: '1.24'
1616
- run: go test ./...
1717
working-directory: ./go

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ all: deb
77
bin/ik: .PHONY
88
mkdir -p bin
99
cd go/ik &&\
10-
CGO_ENABLED=0 go build -o ../bin/ik $(LDFLAGS)
10+
CGO_ENABLED=0 go build -o ../../bin/ik $(LDFLAGS)
1111

1212

1313
# see https://github.com/jordansissel/fpm

go/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
module github.com/devguardio/identity/go
22

3-
go 1.20
3+
go 1.24.0
44

55
require (
66
github.com/go-daq/crc8 v0.0.0-20170116120732-380c22547098
7-
github.com/oasisprotocol/curve25519-voi v0.0.0-20230110094441-db37f07504ce
7+
github.com/oasisprotocol/curve25519-voi v0.0.0-20251114093237-2ab5a27a1729
88
github.com/shengdoushi/base58 v1.0.0
9-
github.com/spf13/cobra v1.7.0
10-
golang.org/x/crypto v0.9.0
9+
github.com/spf13/cobra v1.10.2
10+
golang.org/x/crypto v0.47.0
1111
)
1212

1313
require (
1414
github.com/inconshreveable/mousetrap v1.1.0 // indirect
15-
github.com/spf13/pflag v1.0.5 // indirect
16-
golang.org/x/sys v0.8.0 // indirect
15+
github.com/spf13/pflag v1.0.10 // indirect
16+
golang.org/x/sys v0.40.0 // indirect
1717
)

go/go.sum

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
1+
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
22
github.com/go-daq/crc8 v0.0.0-20170116120732-380c22547098 h1:3nEKbx1O3wy7Czi49ALR70ApaFyHp1SDdgTxb7lsrns=
33
github.com/go-daq/crc8 v0.0.0-20170116120732-380c22547098/go.mod h1:AaVLbiJT3SvaMMo8D1evl9xPwKu0uhovohUnFuB9ggw=
44
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
55
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
6-
github.com/oasisprotocol/curve25519-voi v0.0.0-20230110094441-db37f07504ce h1:/pEpMk55wH0X+E5zedGEMOdLuWmV8P4+4W3+LZaM6kg=
7-
github.com/oasisprotocol/curve25519-voi v0.0.0-20230110094441-db37f07504ce/go.mod h1:hVoHR2EVESiICEMbg137etN/Lx+lSrHPTD39Z/uE+2s=
6+
github.com/oasisprotocol/curve25519-voi v0.0.0-20251114093237-2ab5a27a1729 h1:yfQ2sO9WJXUAIUR+g7NUkxJSKCAFJcR5sUDu+ZmjTZI=
7+
github.com/oasisprotocol/curve25519-voi v0.0.0-20251114093237-2ab5a27a1729/go.mod h1:hVoHR2EVESiICEMbg137etN/Lx+lSrHPTD39Z/uE+2s=
88
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
99
github.com/shengdoushi/base58 v1.0.0 h1:tGe4o6TmdXFJWoI31VoSWvuaKxf0Px3gqa3sUWhAxBs=
1010
github.com/shengdoushi/base58 v1.0.0/go.mod h1:m5uIILfzcKMw6238iWAhP4l3s5+uXyF3+bJKUNhAL9I=
11-
github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
12-
github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
13-
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
14-
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
15-
golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
16-
golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
17-
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
18-
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
11+
github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU=
12+
github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4=
13+
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
14+
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
15+
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
16+
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
17+
golang.org/x/crypto v0.47.0 h1:V6e3FRj+n4dbpw86FJ8Fv7XVOql7TEwpHapKoMJ/GO8=
18+
golang.org/x/crypto v0.47.0/go.mod h1:ff3Y9VzzKbwSSEzWqJsJVBnWmRwRSHt/6Op5n9bQc4A=
19+
golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ=
20+
golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
1921
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
20-
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

go/identity_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package identity
22

33
import (
4-
"fmt"
54
"testing"
65
)
76

@@ -85,7 +84,7 @@ func TestSerial2(t *testing.T) {
8584
}
8685

8786
if sk != sequence2_value {
88-
t.Errorf(fmt.Sprintf("expected SerialFromString(s) == sv | %v != %v", sk, sequence2_value))
87+
t.Errorf("expected SerialFromString(s) == sv | %v != %v", sk, sequence2_value)
8988
}
9089

9190
if sk.String() != sequence2_string {
@@ -100,7 +99,7 @@ func TestSerial2b(t *testing.T) {
10099
}
101100

102101
if sk != sequence2_value {
103-
t.Errorf(fmt.Sprintf("expected SerialFromString(s) == sv | %v != %v", sk, sequence2_value))
102+
t.Errorf("expected SerialFromString(s) == sv | %v != %v", sk, sequence2_value)
104103
}
105104

106105
if sk.String() != sequence2_string {

0 commit comments

Comments
 (0)