Skip to content

Commit 298137f

Browse files
authored
golangci-lint v1.63.4 (#366)
1 parent 0b7be4f commit 298137f

File tree

8 files changed

+18
-14
lines changed

8 files changed

+18
-14
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
branches-ignore:
1010
- main
1111
pull_request:
12-
12+
1313
jobs:
1414
lint:
1515
runs-on: ubuntu-latest
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.22.x'
22+
go-version: '1.23.x'
2323

2424
- name: Deps cache
2525
id: cache-go-deps
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
go mod tidy
4343
go mod download
44-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.2
44+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4
4545
4646
- name: Run golangci-lint
4747
run: golangci-lint run

.github/workflows/generate-linter-advanced.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: '1.22.x'
23+
go-version: '1.23.x'
2424

2525
- name: Install golangci-lint
26-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.2
26+
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4
2727

2828
- name: Commit report
2929
run: |

.github/workflows/generate-linter-core.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.22.x'
22+
go-version: '1.23.x'
2323

2424
- name: Install golangci-lint
25-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.2
25+
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4
2626

2727
- name: Commit report
2828
run: |

.github/workflows/testcontainers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: '1.22.x'
19+
go-version: '1.23.x'
2020

2121
- name: Commit report
2222
run: |

cmd/template/advanced/files/htmx/hello_fiber.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func HelloWebHandler(c *fiber.Ctx) error {
3030
if innerErr != nil {
3131
log.Fatalf("Could not send error in HelloWebHandler: %e", innerErr)
3232
}
33-
log.Fatalf(errorString)
33+
log.Fatalf("%s", errorString)
3434
}
3535

3636
// Send the response

cmd/template/dbdriver/files/service/redis.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (s *service) checkRedisHealth(ctx context.Context, stats map[string]string)
7373
// Note: By extracting and simplifying like this, `log.Fatalf("db down: %v", err)`
7474
// can be changed into a standard error instead of a fatal error.
7575
if err != nil {
76-
log.Fatalf(fmt.Sprintf("db down: %v", err))
76+
log.Fatalf("db down: %v", err)
7777
}
7878

7979
// Redis is up

contributors.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- joshjms
1616
- brijesh-amin
1717
- briancbarrow
18+
- arafays
1819
- LrsK
1920
- juleszs
2021
- vadhe
@@ -24,13 +25,15 @@
2425
- pellizzetti
2526
- Owbird
2627
- Jamlie
28+
- alexandear
2729
- NimishKashyap
2830
- narasaka
2931
- mubashiroliyantakath
3032
- abhishekmj303
3133
- Sakelig
3234
- reavessm
3335
- young-steveo
36+
- sibteali786
3437
- tomasohCHOM
3538
- vinitparekh17
3639
- vsnaichuk
@@ -47,11 +50,13 @@
4750
- basokant
4851
- schoolboybru
4952
- brendonotto
50-
- DanielHe4rt
53+
- danielhe4rt
5154
- spankie
5255
- Echo5678
5356
- EinarLogi
57+
- silaselisha
5458
- eric-jacobson
59+
- KennyMwendwaX
5560
- KibuuleNoah
5661
- LarsArtmann
5762
- mdelapenya
@@ -60,4 +65,3 @@
6065
- MatthewAraujo
6166
- mikelerch
6267
- MohammadAlhallaq
63-
- silaselisha

docs/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ theme:
2121
palette:
2222
- scheme: default
2323
toggle:
24-
icon: material/brightness-7
24+
icon: material/brightness-7
2525
name: Switch to dark mode
2626
- scheme: slate
2727
toggle:
@@ -73,4 +73,4 @@ extra:
7373
name: Twitter
7474
generator: false
7575

76-
copyright: Copyright © 2024 Melkey
76+
copyright: Copyright © 2025 Melkey

0 commit comments

Comments
 (0)