Skip to content

Commit cc586fc

Browse files
committed
feat: update tools
1 parent 180126f commit cc586fc

File tree

12 files changed

+21
-10
lines changed

12 files changed

+21
-10
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
@@ -43,7 +43,7 @@ checksum:
4343
name_template: checksums.txt
4444

4545
snapshot:
46-
name_template: "{{ .ShortCommit }}"
46+
version_template: "{{ .ShortCommit }}"
4747

4848
changelog:
4949
sort: asc

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/mia-platform/vab
22

3-
go 1.22.5
3+
go 1.23.1
44

55
require (
66
github.com/MakeNowJust/heredoc/v2 v2.0.1

internal/git/filesgetter_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ func TestGetFiles(t *testing.T) {
7070
"filter module files": {
7171
pkgDefinition: v1alpha1.NewModule(t, "category/test-module1/test-flavor1", "1.0.0", false),
7272
expectedFiles: []*File{
73+
{
74+
path: "test-flavor1/file.json",
75+
internalPath: "modules/category/test-module1/test-flavor1/file.json",
76+
},
7377
{
7478
path: "test-flavor1/file1.yaml",
7579
internalPath: "modules/category/test-module1/test-flavor1/file1.yaml",

internal/git/test_helper.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ func populateWorktree(t *testing.T, fsys billy.Filesystem) {
6565
assert.NoError(t, err)
6666
err = f.Close()
6767
assert.NoError(t, err)
68+
f, err = fsys.Create("modules/category/test-module1/test-flavor1/file.json")
69+
assert.NoError(t, err)
70+
_, err = f.Write([]byte(`{"key":"file json content"}`))
71+
assert.NoError(t, err)
72+
err = f.Close()
73+
assert.NoError(t, err)
6874
f, err = fsys.Create("modules/category/test-module1/test-flavor2/file1.yaml")
6975
assert.NoError(t, err)
7076
_, err = f.Write([]byte("file1-2-1 content\n"))

pkg/cmd/sync/sync_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ var (
175175
"vendors/modules/category/test-module1-v1.0.0/test-flavor1",
176176
"vendors/modules/category/test-module1-v1.0.0/test-flavor1/file1.yaml",
177177
"vendors/modules/category/test-module1-v1.0.0/test-flavor1/file2.yaml",
178+
"vendors/modules/category/test-module1-v1.0.0/test-flavor1/file.json",
178179
"vendors/modules/category/test-module1-v1.0.0/test-flavor2",
179180
"vendors/modules/category/test-module1-v1.0.0/test-flavor2/file1.yaml",
180181
}

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)