diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 8c243e6..ee57f37 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ecd502..2232d7c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 ./... @@ -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: @@ -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 diff --git a/go.mod b/go.mod index 30af83b..b58ebda 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/perf_test.go b/perf_test.go index a9a9c09..693eae8 100644 --- a/perf_test.go +++ b/perf_test.go @@ -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"` @@ -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") }) }, }, {