Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
GO_VERSION: '1.24'
GO_VERSION: '1.26'
BUF_VERSION: 'latest'
PROTOC_VERSION: '25.1'

Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.1.6
version: v2.11.3
args: ""
only-new-issues: true

Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ['1.24']
go-version: ['1.26']
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout code
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- name: Download coverage from test job
uses: actions/download-artifact@v8
with:
name: test-results-ubuntu-latest-go1.24
name: test-results-ubuntu-latest-go1.26
path: ./coverage-download

- name: Verify and locate coverage file
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
uses: fgrosse/go-coverage-report@v1.3.0
continue-on-error: true # Don't fail on coverage reporting issues
with:
coverage-artifact-name: test-results-ubuntu-latest-go1.24
coverage-artifact-name: test-results-ubuntu-latest-go1.26
coverage-file-name: coverage/coverage.out

- name: Upload coverage reports
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '1.21'
go-version: '1.26'
cache: true

- name: Install protoc-gen-go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '1.21'
go-version: '1.26'
cache: true

- name: Setup Protoc
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/SebastienMelki/sebuf

go 1.24.7
go 1.26.0

require (
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260209202127-80ab13bee0bf.1
Expand Down
5 changes: 2 additions & 3 deletions internal/httpgen/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -912,10 +912,9 @@ func camelToSnake(s string) string {
if i > 0 {
result = append(result, '_')
}
result = append(result, byte(r+'a'-'A'))
} else {
result = append(result, byte(r))
r = r - 'A' + 'a'
}
result = append(result, byte(r)) //nolint:gosec // input is ASCII identifier characters
}
return string(result)
}
Expand Down
Loading