Skip to content

Commit

Permalink
golangci-lint v1.63.4 (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ujstor authored Jan 18, 2025
1 parent 0b7be4f commit 298137f
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
branches-ignore:
- main
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
go-version: '1.23.x'

- name: Deps cache
id: cache-go-deps
Expand All @@ -41,7 +41,7 @@ jobs:
run: |
go mod tidy
go mod download
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.2
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4
- name: Run golangci-lint
run: golangci-lint run
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-linter-advanced.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
go-version: '1.23.x'

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

- name: Commit report
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-linter-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
go-version: '1.23.x'

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

- name: Commit report
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testcontainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
go-version: '1.23.x'

- name: Commit report
run: |
Expand Down
2 changes: 1 addition & 1 deletion cmd/template/advanced/files/htmx/hello_fiber.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func HelloWebHandler(c *fiber.Ctx) error {
if innerErr != nil {
log.Fatalf("Could not send error in HelloWebHandler: %e", innerErr)
}
log.Fatalf(errorString)
log.Fatalf("%s", errorString)
}

// Send the response
Expand Down
2 changes: 1 addition & 1 deletion cmd/template/dbdriver/files/service/redis.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (s *service) checkRedisHealth(ctx context.Context, stats map[string]string)
// Note: By extracting and simplifying like this, `log.Fatalf("db down: %v", err)`
// can be changed into a standard error instead of a fatal error.
if err != nil {
log.Fatalf(fmt.Sprintf("db down: %v", err))
log.Fatalf("db down: %v", err)
}

// Redis is up
Expand Down
8 changes: 6 additions & 2 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- joshjms
- brijesh-amin
- briancbarrow
- arafays
- LrsK
- juleszs
- vadhe
Expand All @@ -24,13 +25,15 @@
- pellizzetti
- Owbird
- Jamlie
- alexandear
- NimishKashyap
- narasaka
- mubashiroliyantakath
- abhishekmj303
- Sakelig
- reavessm
- young-steveo
- sibteali786
- tomasohCHOM
- vinitparekh17
- vsnaichuk
Expand All @@ -47,11 +50,13 @@
- basokant
- schoolboybru
- brendonotto
- DanielHe4rt
- danielhe4rt
- spankie
- Echo5678
- EinarLogi
- silaselisha
- eric-jacobson
- KennyMwendwaX
- KibuuleNoah
- LarsArtmann
- mdelapenya
Expand All @@ -60,4 +65,3 @@
- MatthewAraujo
- mikelerch
- MohammadAlhallaq
- silaselisha
4 changes: 2 additions & 2 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ theme:
palette:
- scheme: default
toggle:
icon: material/brightness-7
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
toggle:
Expand Down Expand Up @@ -73,4 +73,4 @@ extra:
name: Twitter
generator: false

copyright: Copyright © 2024 Melkey
copyright: Copyright © 2025 Melkey

0 comments on commit 298137f

Please sign in to comment.