From c85fc43d06106dcc22bbc7aefab6f8d4b6aa1fed Mon Sep 17 00:00:00 2001 From: Yixin Wei Date: Tue, 21 Apr 2026 06:24:42 -0700 Subject: [PATCH] bump go version to 1.26 Summary: Unbreak GH lint check, which fails on D100332220 because it uses `strings.SplitSeq` (Go 1.24+) but the github mirror was pinned to 1.23. Bump to 1.26 to match what we use internally. Differential Revision: D101806507 --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- go.mod | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a80deef6..87360c71 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.23 + go-version: 1.26 - run: sudo apt-get install libpcap-dev - uses: golangci/golangci-lint-action@v3 - run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8b5b8d8d..788b4147 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.23 + go-version: 1.26 - run: sudo apt-get install libpcap-dev libcap2-bin - run: go build -v ./... # fuzzing, need to specify each package separately diff --git a/go.mod b/go.mod index b8f89ada..b444ce19 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/facebook/time -go 1.23.0 +go 1.26.0 -toolchain go1.23.7 +toolchain go1.26.0 require ( github.com/Knetic/govaluate v3.0.0+incompatible