Skip to content

Commit 667f5d6

Browse files
committed
feat: update tools and dependencies
1 parent 8cbacaa commit 667f5d6

File tree

12 files changed

+36
-29
lines changed

12 files changed

+36
-29
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "Go",
3-
"image": "golang:1.22.5",
3+
"image": "golang:1.23.1",
44
"features": {
55
"ghcr.io/devcontainers/features/common-utils:2": {"username": "golang"},
6-
"ghcr.io/devcontainers/features/go:1": {"version": "none", "golangciLintVersion": "1.59.1"}
6+
"ghcr.io/devcontainers/features/go:1": {"version": "none", "golangciLintVersion": "1.61.0"}
77
},
88
"runArgs": [
99
"--cap-add=SYS_PTRACE",

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- examples/**
1515

1616
env:
17-
GORELEASER_VERSION: v2.1.0
17+
GORELEASER_VERSION: v2.2.0
1818
jobs:
1919
lint:
2020
name: Lint Code

.github/workflows/codeql.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- cron: 0 5 * * 1 # Run every monday at 5 UTC
1717

1818
env:
19-
GORELEASER_VERSION: v2.1.0
19+
GORELEASER_VERSION: v2.2.0
2020

2121
jobs:
2222
codeql:

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.5
1+
1.23.1

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ checksum:
4444
name_template: checksums.txt
4545

4646
snapshot:
47-
name_template: "{{ .ShortCommit }}"
47+
version_template: "{{ .ShortCommit }}"
4848

4949
changelog:
5050
sort: asc

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616

1717
- updated `extension apply` command to support new request body schema
1818
- deprecate `deploy` command
19-
- update go version to 1.22.5
19+
- update go version to 1.23.1
2020
- `marketplace list-versions` command removed from alpha build
21+
- update mergo to v1.0.1
22+
- update cobra to v1.8.1
23+
- update oauth2 to v0.23.0
24+
- update sync to v0.8.0
25+
- update text to v0.18.0
2126

2227
### BREAKING
2328

24-
- updated `extension apply` command to support new request body schema. The older version of miactl will not be compatible with the Console version upper or equal to 13.2.0.
29+
- updated `extension apply` command to support new request body schema. The older version of miactl will not be
30+
compatible with the Console version upper or equal to 13.2.0.
2531

2632
## [v0.14.0] - 2024-07-25
2733

go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
module github.com/mia-platform/miactl
22

3-
go 1.22.5
3+
go 1.23.1
44

55
require (
6-
dario.cat/mergo v1.0.0
6+
dario.cat/mergo v1.0.1
77
github.com/go-logr/logr v1.4.2
88
github.com/google/uuid v1.6.0
99
github.com/olekukonko/tablewriter v0.0.5
10-
github.com/spf13/cobra v1.8.0
10+
github.com/spf13/cobra v1.8.1
1111
github.com/spf13/pflag v1.0.5
1212
github.com/stretchr/testify v1.9.0
13-
golang.org/x/oauth2 v0.20.0
14-
golang.org/x/sync v0.7.0
15-
golang.org/x/text v0.15.0
13+
golang.org/x/oauth2 v0.23.0
14+
golang.org/x/sync v0.8.0
15+
golang.org/x/text v0.18.0
1616
gopkg.in/yaml.v3 v3.0.1
1717
)
1818

go.sum

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
2-
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
3-
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
1+
dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
2+
dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
3+
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
44
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
55
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
66
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
@@ -18,18 +18,18 @@ github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6
1818
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1919
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2020
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
21-
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
22-
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
21+
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
22+
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
2323
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
2424
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
2525
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
2626
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
27-
golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo=
28-
golang.org/x/oauth2 v0.20.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
29-
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
30-
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
31-
golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
32-
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
27+
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
28+
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
29+
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
30+
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
31+
golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224=
32+
golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
3333
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
3434
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
3535
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

internal/cmd/company/iam/serviceaccount/jwt/jwt.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ func rsaPublicKeyToBytes(key *rsa.PublicKey) ([]byte, []byte) {
200200

201201
// convert exponent in 8 byte and then truncate until the first byte set to 1
202202
exponentData := make([]byte, 8)
203-
binary.BigEndian.PutUint64(exponentData, uint64(key.E))
203+
//nolint:gosec
204+
binary.BigEndian.PutUint64(exponentData, uint64(key.E)) // avoid warning for casting int in uint64
204205
i := 0
205206
var emptyByte byte = 0x0
206207
for ; i < len(exponentData); i++ {

tools/DEEPCOPY_GEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.30.3
1+
v0.31.1

0 commit comments

Comments
 (0)