Skip to content

Commit 4d22969

Browse files
authored
Update dependencies and fix CI build (#192)
* Go: Update to v1.24 * Staticcheck: Update to v2025.1.1 * go fmt
1 parent 8ddf623 commit 4d22969

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: "1.23"
23+
go-version: "1.24"
2424

2525
- name: Run GoReleaser
2626
uses: goreleaser/goreleaser-action@v6

.github/workflows/testing.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-24.04
1616
strategy:
1717
matrix:
18-
go: ["1.23", "1.22"]
18+
go: ["1.24", "1.23"]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-24.04
3333
strategy:
3434
matrix:
35-
go: ["1.23", "1.22"]
35+
go: ["1.24", "1.23"]
3636

3737
steps:
3838
- uses: actions/checkout@v4
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ubuntu-24.04
4949
strategy:
5050
matrix:
51-
go: ["1.23", "1.22"]
51+
go: ["1.24", "1.23"]
5252

5353
steps:
5454
- uses: actions/checkout@v4
@@ -59,7 +59,7 @@ jobs:
5959
- name: Run staticcheck
6060
uses: dominikh/[email protected]
6161
with:
62-
version: "2024.1.1"
62+
version: "2025.1.1"
6363
install-go: false
6464
cache-key: ${{ matrix.go }}
6565

@@ -68,7 +68,7 @@ jobs:
6868
runs-on: ubuntu-24.04
6969
strategy:
7070
matrix:
71-
go: ["1.23", "1.22"]
71+
go: ["1.24", "1.23"]
7272

7373
steps:
7474
- uses: actions/checkout@v4

changes.go

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -413,22 +413,22 @@ type ApplyPatchInput struct {
413413
//
414414
// Docs: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#change-input
415415
type ChangeInput struct {
416-
Project string `json:"project"`
417-
Branch string `json:"branch"`
418-
Subject string `json:"subject"`
419-
Topic string `json:"topic,omitempty"`
420-
Status string `json:"status,omitempty"`
421-
IsPrivate bool `json:"is_private,omitempty"`
422-
WorkInProgress bool `json:"work_in_progress,omitempty"`
423-
BaseChange string `json:"base_change,omitempty"`
424-
BaseCommit string `json:"base_commit,omitempty"`
425-
NewBranch bool `json:"new_branch,omitempty"`
426-
ValidationOptions map[string]interface{} `json:"validation_options,omitempty"`
427-
Merge *MergeInput `json:"merge,omitempty"`
428-
Patch *ApplyPatchInput `json:"patch,omitempty"`
429-
Author *AccountInput `json:"author,omitempty"`
430-
Notify string `json:"notify,omitempty"`
431-
NotifyDetails string `json:"notify_details,omitempty"`
416+
Project string `json:"project"`
417+
Branch string `json:"branch"`
418+
Subject string `json:"subject"`
419+
Topic string `json:"topic,omitempty"`
420+
Status string `json:"status,omitempty"`
421+
IsPrivate bool `json:"is_private,omitempty"`
422+
WorkInProgress bool `json:"work_in_progress,omitempty"`
423+
BaseChange string `json:"base_change,omitempty"`
424+
BaseCommit string `json:"base_commit,omitempty"`
425+
NewBranch bool `json:"new_branch,omitempty"`
426+
ValidationOptions map[string]interface{} `json:"validation_options,omitempty"`
427+
Merge *MergeInput `json:"merge,omitempty"`
428+
Patch *ApplyPatchInput `json:"patch,omitempty"`
429+
Author *AccountInput `json:"author,omitempty"`
430+
Notify string `json:"notify,omitempty"`
431+
NotifyDetails string `json:"notify_details,omitempty"`
432432
ResponseFormatOptions []string `json:"response_format_options,omitempty"`
433433
}
434434

0 commit comments

Comments
 (0)