Skip to content

Commit 2d5637b

Browse files
authored
build(deps)!: add support for go1.26 (#1193)
1 parent f057a8d commit 2d5637b

File tree

17 files changed

+15
-59
lines changed

17 files changed

+15
-59
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# pull requests, only run this step for a single job in the matrix. For
2525
# all other workflow triggers (e.g., pushes to a release branch) run
2626
# this step for the whole matrix.
27-
RUN_RACE_TESTS: ${{ github.event_name != 'pull_request' || (matrix.go == '1.24' && matrix.os == 'ubuntu') }}
27+
RUN_RACE_TESTS: ${{ github.event_name != 'pull_request' || (matrix.go == '1.26' && matrix.os == 'ubuntu') }}
2828
steps:
2929
- uses: actions/setup-go@v6
3030
with:
@@ -47,7 +47,7 @@ jobs:
4747
${{ runner.os }}-go-${{ matrix.go }}-
4848
- name: Tidy for min version
4949
run: make mod-tidy
50-
if: ${{ matrix.go == '1.23' }}
50+
if: ${{ matrix.go == '1.24' }}
5151
- name: Build
5252
run: make build
5353
- name: Vet
@@ -62,6 +62,6 @@ jobs:
6262
timeout-minutes: 15
6363
strategy:
6464
matrix:
65-
go: ["1.25", "1.24", "1.23"]
65+
go: ["1.26", "1.25", "1.24"]
6666
os: [ubuntu, windows, macos]
6767
fail-fast: false

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ mod-tidy: ## Check go.mod tidiness
7070
set -e ; \
7171
for dir in $(ALL_GO_MOD_DIRS); do \
7272
echo ">>> Running 'go mod tidy' for module: $${dir}"; \
73-
(cd "$${dir}" && GOTOOLCHAIN=local go mod tidy -go=1.23.0 -compat=1.23); \
73+
(cd "$${dir}" && GOTOOLCHAIN=local go mod tidy -go=1.24 -compat=1.24); \
7474
done; \
7575
git diff --exit-code;
7676
.PHONY: mod-tidy

echo/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/getsentry/sentry-go/echo
22

3-
go 1.23.0
3+
go 1.24
44

55
replace github.com/getsentry/sentry-go => ../
66

fasthttp/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/getsentry/sentry-go/fasthttp
22

3-
go 1.23.0
3+
go 1.24
44

55
replace github.com/getsentry/sentry-go => ../
66

fiber/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/getsentry/sentry-go/fiber
22

3-
go 1.23.0
3+
go 1.24
44

55
replace github.com/getsentry/sentry-go => ../
66

gin/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/getsentry/sentry-go/gin
22

3-
go 1.23.0
3+
go 1.24
44

55
replace github.com/getsentry/sentry-go => ../
66

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/getsentry/sentry-go
22

3-
go 1.23.0
3+
go 1.24
44

55
require (
66
github.com/go-errors/errors v1.4.2
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//go:build go1.23
2-
31
package traceutils
42

53
import (

internal/traceutils/route_name_below_go1.23.go

Lines changed: 0 additions & 10 deletions
This file was deleted.

internal/traceutils/route_name_below_go1.23_test.go

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)