Skip to content

Commit 048a25f

Browse files
authored
Go 1.26 (#1030)
* ci(release): drop unsupported windows/arm targets
1 parent b357558 commit 048a25f

6 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- name: Setup go
1616
uses: actions/setup-go@v6
1717
with:
18-
go-version: "1.25"
18+
go-version: "1.26"
1919
- name: Run tests with coverage
2020
run: ./ci.sh coverage -d "${GITHUB_BASE_REF-HEAD}"

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup go
1616
uses: actions/setup-go@v6
1717
with:
18-
go-version: "1.24"
18+
go-version: "1.26"
1919
- name: Run golangci-lint
2020
uses: golangci/golangci-lint-action@v9
2121
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@v6
2424
with:
25-
go-version: "1.25"
25+
go-version: "1.26"
2626
- name: Login to GitHub Container Registry
2727
uses: docker/login-action@v3
2828
with:

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest', 'macos-14' ]
16-
go: [ '1.24', '1.25' ]
16+
go: [ '1.25', '1.26' ]
1717
runs-on: ${{ matrix.os }}
1818
name: ${{ matrix.go }}/${{ matrix.os }}
1919
steps:

.goreleaser.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ builds:
2222
- linux_riscv64
2323
- windows_amd64
2424
- windows_arm64
25-
- windows_arm
2625
- darwin_amd64
2726
- darwin_arm64
2827
- id: tomljson
@@ -42,7 +41,6 @@ builds:
4241
- linux_riscv64
4342
- windows_amd64
4443
- windows_arm64
45-
- windows_arm
4644
- darwin_amd64
4745
- darwin_arm64
4846
- id: jsontoml
@@ -62,7 +60,6 @@ builds:
6260
- linux_arm
6361
- windows_amd64
6462
- windows_arm64
65-
- windows_arm
6663
- darwin_amd64
6764
- darwin_arm64
6865
universal_binaries:

test-go-versions.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ YELLOW='\033[1;33m'
99
BLUE='\033[0;34m'
1010
NC='\033[0m' # No Color
1111

12-
# Go versions to test (1.11 through 1.25)
12+
# Go versions to test (1.11 through 1.26)
1313
GO_VERSIONS=(
1414
"1.11"
1515
"1.12"
@@ -26,6 +26,7 @@ GO_VERSIONS=(
2626
"1.23"
2727
"1.24"
2828
"1.25"
29+
"1.26"
2930
)
3031

3132
# Default values
@@ -64,7 +65,7 @@ EXAMPLES:
6465
$0 # Test all Go versions in parallel
6566
$0 --sequential # Test all Go versions sequentially
6667
$0 1.21 1.22 1.23 # Test specific versions
67-
$0 --verbose --output ./results 1.24 1.25 # Verbose output to custom directory
68+
$0 --verbose --output ./results 1.25 1.26 # Verbose output to custom directory
6869
6970
EXIT CODES:
7071
0 Recent Go versions pass (good compatibility)
@@ -136,8 +137,8 @@ fi
136137

137138
# Validate Go versions
138139
for version in "${GO_VERSIONS[@]}"; do
139-
if ! [[ "$version" =~ ^1\.(1[1-9]|2[0-5])$ ]]; then
140-
log_error "Invalid Go version: $version. Supported versions: 1.11-1.25"
140+
if ! [[ "$version" =~ ^1\.(1[1-9]|2[0-6])$ ]]; then
141+
log_error "Invalid Go version: $version. Supported versions: 1.11-1.26"
141142
exit 1
142143
fi
143144
done

0 commit comments

Comments
 (0)