Skip to content

Commit 5baee9a

Browse files
aykevldeadprogram
authored andcommitted
ci: switch to Go 1.22
1 parent c47f52b commit 5baee9a

File tree

5 files changed

+14
-23
lines changed

5 files changed

+14
-23
lines changed

.circleci/config.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,9 @@ jobs:
105105
- test-linux:
106106
llvm: "15"
107107
resource_class: large
108-
test-llvm16-go122:
108+
test-llvm17-go122:
109109
docker:
110-
- image: golang:1.22-rc-bullseye
111-
steps:
112-
- test-linux:
113-
llvm: "16"
114-
resource_class: large
115-
test-llvm17-go121:
116-
docker:
117-
- image: golang:1.21-bullseye
110+
- image: golang:1.22-bullseye
118111
steps:
119112
- test-linux:
120113
llvm: "17"
@@ -126,7 +119,5 @@ workflows:
126119
# This tests our lowest supported versions of Go and LLVM, to make sure at
127120
# least the smoke tests still pass.
128121
- test-llvm15-go118
129-
# This tests the upcoming Go 1.22 support.
130-
- test-llvm16-go122
131122
# This tests LLVM 17 support when linking against system libraries.
132-
- test-llvm17-go121
123+
- test-llvm17-go122

.github/workflows/build-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install Go
3838
uses: actions/setup-go@v5
3939
with:
40-
go-version: '1.21'
40+
go-version: '1.22'
4141
cache: true
4242
- name: Restore LLVM source cache
4343
uses: actions/cache/restore@v4
@@ -145,7 +145,7 @@ jobs:
145145
- name: Install Go
146146
uses: actions/setup-go@v5
147147
with:
148-
go-version: '1.21'
148+
go-version: '1.22'
149149
cache: true
150150
- name: Build TinyGo (LLVM ${{ matrix.version }})
151151
run: go install -tags=llvm${{ matrix.version }}

.github/workflows/linux.yml

Lines changed: 4 additions & 4 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.21-alpine
21+
image: golang:1.22-alpine
2222
steps:
2323
- name: Install apk dependencies
2424
# tar: needed for actions/cache@v4
@@ -135,7 +135,7 @@ jobs:
135135
- name: Install Go
136136
uses: actions/setup-go@v5
137137
with:
138-
go-version: '1.21'
138+
go-version: '1.22'
139139
cache: true
140140
- name: Install wasmtime
141141
run: |
@@ -178,7 +178,7 @@ jobs:
178178
- name: Install Go
179179
uses: actions/setup-go@v5
180180
with:
181-
go-version: '1.21'
181+
go-version: '1.22'
182182
cache: true
183183
- name: Install Node.js
184184
uses: actions/setup-node@v4
@@ -301,7 +301,7 @@ jobs:
301301
- name: Install Go
302302
uses: actions/setup-go@v5
303303
with:
304-
go-version: '1.21'
304+
go-version: '1.22'
305305
cache: true
306306
- name: Restore LLVM source cache
307307
uses: actions/cache/restore@v4

.github/workflows/windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install Go
3636
uses: actions/setup-go@v5
3737
with:
38-
go-version: '1.21'
38+
go-version: '1.22'
3939
cache: true
4040
- name: Restore cached LLVM source
4141
uses: actions/cache/restore@v4
@@ -143,7 +143,7 @@ jobs:
143143
- name: Install Go
144144
uses: actions/setup-go@v5
145145
with:
146-
go-version: '1.21'
146+
go-version: '1.22'
147147
cache: true
148148
- name: Download TinyGo build
149149
uses: actions/download-artifact@v4
@@ -173,7 +173,7 @@ jobs:
173173
- name: Install Go
174174
uses: actions/setup-go@v5
175175
with:
176-
go-version: '1.21'
176+
go-version: '1.22'
177177
cache: true
178178
- name: Download TinyGo build
179179
uses: actions/download-artifact@v4
@@ -209,7 +209,7 @@ jobs:
209209
- name: Install Go
210210
uses: actions/setup-go@v5
211211
with:
212-
go-version: '1.21'
212+
go-version: '1.22'
213213
cache: true
214214
- name: Download TinyGo build
215215
uses: actions/download-artifact@v4

Dockerfile

Lines changed: 1 addition & 1 deletion
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.21 AS tinygo-llvm
2+
FROM golang:1.22 AS tinygo-llvm
33

44
RUN apt-get update && \
55
apt-get install -y apt-utils make cmake clang-15 ninja-build && \

0 commit comments

Comments
 (0)