Skip to content

Commit 532580e

Browse files
committed
Test against Go 1.18 in CI
1 parent b28601c commit 532580e

File tree

3 files changed

+29
-4
lines changed

3 files changed

+29
-4
lines changed

.github/workflows/build-macos.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,21 @@ on:
99

1010
jobs:
1111
build-macos:
12-
name: build-macos
12+
name: build-macos with Go ${{ matrix.go-version }}
1313
runs-on: macos-10.15
14+
strategy:
15+
matrix:
16+
include:
17+
- go-version: '1.17'
18+
go-stable: true
19+
- go-version: '1.18'
20+
go-stable: false
1421
steps:
1522
- name: Install Go
1623
uses: actions/setup-go@v2
1724
with:
18-
go-version: '1.17'
25+
go-version: ${{ matrix.go-version }}
26+
stable: ${{ matrix.go-stable }}
1927
- name: Install Dependencies
2028
shell: bash
2129
run: |

.github/workflows/linux.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,15 @@ jobs:
137137
assert-test-linux:
138138
# Run all tests that can run on Linux, with LLVM assertions enabled to catch
139139
# potential bugs.
140+
name: assert-test-linux with Go ${{ matrix.go-version }}
140141
runs-on: ubuntu-latest
142+
strategy:
143+
matrix:
144+
include:
145+
- go-version: '1.17'
146+
go-stable: true
147+
- go-version: '1.18'
148+
go-stable: false
141149
steps:
142150
- name: Checkout
143151
uses: actions/checkout@v2
@@ -159,7 +167,8 @@ jobs:
159167
- name: Install Go
160168
uses: actions/setup-go@v2
161169
with:
162-
go-version: '1.17'
170+
go-version: ${{ matrix.go-version }}
171+
stable: ${{ matrix.go-stable }}
163172
- name: Install Node.js
164173
uses: actions/setup-node@v2
165174
with:

.github/workflows/windows.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,19 @@ on:
1010
jobs:
1111
build-windows:
1212
runs-on: windows-2019
13+
strategy:
14+
matrix:
15+
include:
16+
- go-version: '1.17'
17+
go-stable: true
18+
- go-version: '1.18'
19+
go-stable: false
1320
steps:
1421
- name: Install Go
1522
uses: actions/setup-go@v2
1623
with:
17-
go-version: '1.17'
24+
go-version: ${{ matrix.go-version }}
25+
stable: ${{ matrix.go-stable }}
1826
- uses: MinoruSekine/setup-scoop@v1
1927
- name: Install Dependencies
2028
shell: bash

0 commit comments

Comments
 (0)