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
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-go@v6
with:
go-version: "1.25.x"
go-version: "1.27.x"
- uses: actions/checkout@v6
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ["1.25.x", "1.26.x"]
go-version: ["1.27.x"]
steps:
- uses: actions/checkout@v6

Expand All @@ -31,7 +31,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.25.x"
go-version: "1.27.x"

- name: Race test
run: go test -race ./...
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.25.x"
go-version: "1.27.x"

- name: Allocation budget
env:
Expand All @@ -70,7 +70,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.25.x"
go-version: "1.27.x"

- name: Install benchstat
run: go install golang.org/x/perf/cmd/benchstat@latest
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/pkkummermo/govalin

go 1.25.0
go 1.27.0

require (
github.com/ddliu/go-httpclient v0.7.1
Expand Down
4 changes: 2 additions & 2 deletions perf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var allocationBudgets = []allocationBudget{
{
name: "json",
target: "/json",
allowed: 15,
allowed: 16,
build: func(app *App) {
type payload struct {
Name string `json:"name"`
Expand Down Expand Up @@ -65,7 +65,7 @@ var allocationBudgets = []allocationBudget{
{
name: "not found",
target: "/missing",
allowed: 36,
allowed: 38,
build: func(app *App) { app.Get("/text", func(call *Call) { call.Text("Hello world") }) },
},
{
Expand Down
Loading