Skip to content

Commit c0198a8

Browse files
committed
ci: update minimum Go version to 1.25, add Go 1.26
The Go project started to unconditionally update the minimum Go version for golang.org/x/ dependencies to go1.25 This means that this package will no longer be able to support any version below that when updating golang.org/x/sys Thus, update the minimum Go version to 1.25.0 and add CI coverage for Go 1.26.
1 parent 884707f commit c0198a8

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
env:
22
CIRRUS_CLONE_DEPTH: 1
3-
GO_VERSION: go1.25.5
3+
GO_VERSION: go1.26.1
44

55
freebsd_14_task:
66
freebsd_instance:

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Go
2020
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v5.0.2
2121
with:
22-
go-version: '1.25'
22+
go-version: '1.26'
2323

2424
- name: Install staticcheck
2525
run: go install honnef.co/go/tools/cmd/staticcheck@latest

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
# Latest two supported releases.
16-
go-version: ['1.24', '1.25']
16+
go-version: ['1.25', '1.26']
1717
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-14, macos-15, macos-26, windows-2022, windows-2025]
1818
runs-on: ${{ matrix.os }}
1919

@@ -27,11 +27,11 @@ jobs:
2727
go-version: ${{ matrix.go-version }}
2828

2929
- name: Check formatting
30-
if: ${{ matrix.go-version == '1.25' && matrix.os == 'ubuntu-24.04' }}
30+
if: ${{ matrix.go-version == '1.26' && matrix.os == 'ubuntu-24.04' }}
3131
run: diff -u <(echo -n) <(gofmt -d .)
3232

3333
- name: Check Go modules
34-
if: ${{ matrix.go-version == '1.25' && matrix.os == 'ubuntu-24.04' }}
34+
if: ${{ matrix.go-version == '1.26' && matrix.os == 'ubuntu-24.04' }}
3535
run: |
3636
go mod tidy -diff
3737

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/tklauser/ps
22

3-
go 1.24.0
3+
go 1.25.0
44

55
require golang.org/x/sys v0.41.0

0 commit comments

Comments
 (0)