Skip to content

Commit a66a0ef

Browse files
authored
Upgrade to Go v1.26 (#2983)
[no important files changed]
1 parent 72da98c commit a66a0ef

188 files changed

Lines changed: 205 additions & 211 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/check-formatting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
go-version: [1.25.x]
18+
go-version: [1.26.x]
1919
os: [ubuntu-24.04, windows-2025, macOS-latest]
2020
test-arch: [amd64]
2121
race: ["-race"]
2222

2323
include:
24-
- go-version: 1.25.x
24+
- go-version: 1.26.x
2525
test-arch: "386"
2626
os: ubuntu-24.04
2727
race: ""
28-
- go-version: 1.25.x
28+
- go-version: 1.26.x
2929
test-arch: "386"
3030
os: windows-2025
3131
race: ""

.github/workflows/exercise-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
go-version: [1.25.x]
18+
go-version: [1.26.x]
1919
os: [ubuntu-24.04, windows-2025, macOS-latest]
2020
test-arch: [amd64]
2121
race: ["-race"]
2222

2323
include:
24-
- go-version: 1.25.x
24+
- go-version: 1.26.x
2525
test-arch: "386"
2626
os: ubuntu-24.04
2727
race: ""
28-
- go-version: 1.25.x
28+
- go-version: 1.26.x
2929
test-arch: "386"
3030
os: windows-2025
3131
race: ""

.github/workflows/gomod-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417
1919
with:
20-
go-version: 1.25
20+
go-version: 1.26
2121

2222
- name: Check go.mod files
2323
shell: bash

.github/workflows/stub-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
go-version: [1.25.x]
18+
go-version: [1.26.x]
1919
os: [ubuntu-24.04, windows-2025, macOS-latest]
2020
test-arch: [amd64]
2121
race: ["-race"]
2222

2323
include:
24-
- go-version: 1.25.x
24+
- go-version: 1.26.x
2525
test-arch: "386"
2626
os: ubuntu-24.04
2727
race: ""
28-
- go-version: 1.25.x
28+
- go-version: 1.26.x
2929
test-arch: "386"
3030
os: windows-2025
3131
race: ""

bin/run-tests

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,7 @@ for parentdir in concept practice; do
4040
fi
4141
mod="${dir}go.mod"
4242
if [ ! -f $mod ]; then
43-
echo "Please add a basic go module at $mod, like this:"
44-
cat << EOD
45-
module $stub
46-
47-
go 1.15
48-
EOD
43+
echo "File go.mod is missing."
4944
exit 1
5045
fi
5146

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module airportrobot
22

3-
go 1.23
3+
go 1.26
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module chance
22

3-
go 1.23
3+
go 1.26
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module annalyn
22

3-
go 1.23
3+
go 1.26
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module birdwatcher
22

3-
go 1.23
3+
go 1.26

exercises/concept/blackjack/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module blackjack
22

3-
go 1.23
3+
go 1.26

0 commit comments

Comments
 (0)