Skip to content

Commit 5db2519

Browse files
committed
build: use Golang 1.26rc1 for all builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent db9f118 commit 5db2519

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
# This tests the latest supported LLVM version when linking against system
106106
# libraries.
107107
docker:
108-
- image: golang:1.25-bullseye
108+
- image: golang:1.26rc1-bookworm
109109
steps:
110110
- test-linux:
111111
llvm: "20"

.github/workflows/build-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Install Go
4141
uses: actions/setup-go@v6
4242
with:
43-
go-version: '1.25.5'
43+
go-version: '1.26rc1'
4444
cache: true
4545
- name: Restore LLVM source cache
4646
uses: actions/cache/restore@v4
@@ -135,7 +135,7 @@ jobs:
135135
- name: Install Go
136136
uses: actions/setup-go@v6
137137
with:
138-
go-version: '1.25.5'
138+
go-version: '1.26rc1'
139139
cache: true
140140
- name: Build TinyGo (LLVM ${{ matrix.version }})
141141
run: go install -tags=llvm${{ matrix.version }}

.github/workflows/linux.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# statically linked binary.
1919
runs-on: ubuntu-latest
2020
container:
21-
image: golang:1.25-alpine
21+
image: golang:1.26rc1-alpine
2222
outputs:
2323
version: ${{ steps.version.outputs.version }}
2424
steps:
@@ -40,15 +40,15 @@ jobs:
4040
- name: Cache Go
4141
uses: actions/cache@v4
4242
with:
43-
key: go-cache-linux-alpine-v1-${{ hashFiles('go.mod') }}
43+
key: go-cache-linux-alpine-v2-${{ hashFiles('go.mod') }}
4444
path: |
4545
~/.cache/go-build
4646
~/go/pkg/mod
4747
- name: Restore LLVM source cache
4848
uses: actions/cache/restore@v4
4949
id: cache-llvm-source
5050
with:
51-
key: llvm-source-20-linux-alpine-v1
51+
key: llvm-source-20-linux-alpine-v2
5252
path: |
5353
llvm-project/clang/lib/Headers
5454
llvm-project/clang/include
@@ -73,7 +73,7 @@ jobs:
7373
uses: actions/cache/restore@v4
7474
id: cache-llvm-build
7575
with:
76-
key: llvm-build-20-linux-alpine-v1
76+
key: llvm-build-20-linux-alpine-v2
7777
path: llvm-build
7878
- name: Build LLVM
7979
if: steps.cache-llvm-build.outputs.cache-hit != 'true'
@@ -97,7 +97,7 @@ jobs:
9797
uses: actions/cache@v4
9898
id: cache-binaryen
9999
with:
100-
key: binaryen-linux-alpine-v1
100+
key: binaryen-linux-alpine-v2
101101
path: build/wasm-opt
102102
- name: Build Binaryen
103103
if: steps.cache-binaryen.outputs.cache-hit != 'true'
@@ -137,7 +137,7 @@ jobs:
137137
- name: Install Go
138138
uses: actions/setup-go@v6
139139
with:
140-
go-version: '1.25.5'
140+
go-version: '1.26rc1'
141141
cache: true
142142
- name: Install wasmtime
143143
uses: bytecodealliance/actions/wasmtime/setup@v1
@@ -181,7 +181,7 @@ jobs:
181181
- name: Install Go
182182
uses: actions/setup-go@v6
183183
with:
184-
go-version: '1.25.5'
184+
go-version: '1.26rc1'
185185
cache: true
186186
- name: Install Node.js
187187
uses: actions/setup-node@v4
@@ -298,7 +298,7 @@ jobs:
298298
- name: Install Go
299299
uses: actions/setup-go@v6
300300
with:
301-
go-version: '1.25.5'
301+
go-version: '1.26rc1'
302302
cache: true
303303
- name: Restore LLVM source cache
304304
uses: actions/cache/restore@v4

.github/workflows/windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install Go
4242
uses: actions/setup-go@v6
4343
with:
44-
go-version: '1.25.5'
44+
go-version: '1.26rc1'
4545
cache: true
4646
- name: Restore cached LLVM source
4747
uses: actions/cache/restore@v4
@@ -94,7 +94,7 @@ jobs:
9494
- name: Cache Go cache
9595
uses: actions/cache@v4
9696
with:
97-
key: go-cache-windows-v1-${{ hashFiles('go.mod') }}
97+
key: go-cache-windows-v2-${{ hashFiles('go.mod') }}
9898
path: |
9999
C:/Users/runneradmin/AppData/Local/go-build
100100
C:/Users/runneradmin/go/pkg/mod
@@ -147,7 +147,7 @@ jobs:
147147
- name: Install Go
148148
uses: actions/setup-go@v6
149149
with:
150-
go-version: '1.25.5'
150+
go-version: '1.26rc1'
151151
cache: true
152152
- name: Download TinyGo build
153153
uses: actions/download-artifact@v4
@@ -177,7 +177,7 @@ jobs:
177177
- name: Install Go
178178
uses: actions/setup-go@v6
179179
with:
180-
go-version: '1.25.5'
180+
go-version: '1.26rc1'
181181
cache: true
182182
- name: Download TinyGo build
183183
uses: actions/download-artifact@v4
@@ -213,7 +213,7 @@ jobs:
213213
- name: Install Go
214214
uses: actions/setup-go@v6
215215
with:
216-
go-version: '1.25.5'
216+
go-version: '1.26rc1'
217217
cache: true
218218
- name: Download TinyGo build
219219
uses: actions/download-artifact@v4

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# tinygo-llvm stage obtains the llvm source for TinyGo
2-
FROM golang:1.25 AS tinygo-llvm
2+
FROM golang:1.26rc1 AS tinygo-llvm
33

44
RUN apt-get update && \
55
apt-get install -y apt-utils make cmake clang-17 ninja-build && \
@@ -33,7 +33,7 @@ RUN cd /tinygo/ && \
3333

3434
# tinygo-compiler copies the compiler build over to a base Go container (without
3535
# all the build tools etc).
36-
FROM golang:1.25 AS tinygo-compiler
36+
FROM golang:1.26rc1 AS tinygo-compiler
3737

3838
# Copy tinygo build.
3939
COPY --from=tinygo-compiler-build /tinygo/build/release/tinygo /tinygo

0 commit comments

Comments
 (0)