Skip to content

Commit d9d125c

Browse files
coderbirjuShubhranshu153
authored andcommitted
chore: test multiple go versions in CI
Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
1 parent a6f5d6f commit d9d125c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ on:
2121
- 'ztoc/**' # Includes flatbuf + C files
2222
- '!benchmark/**'
2323

24-
env:
25-
GO_VERSION: '1.25.7'
2624

2725
jobs:
2826
setup:
@@ -34,12 +32,13 @@ jobs:
3432
strategy:
3533
matrix:
3634
os: ${{ fromJSON(needs.setup.outputs.available-runners) }}
35+
go-version: ['1.25.7', '1.26.0']
3736
timeout-minutes: 15
3837
steps:
3938
- uses: actions/checkout@v6
4039
- uses: actions/setup-go@v6
4140
with:
42-
go-version: ${{ env.GO_VERSION }}
41+
go-version: ${{ matrix.go-version }}
4342
- name: Install zlib static on AL2 ARM instances
4443
if: matrix.os == 'al2-arm'
4544
run: dnf install zlib-static.aarch64 -y
@@ -56,14 +55,15 @@ jobs:
5655
fail-fast: false
5756
matrix:
5857
os: ${{ fromJSON(needs.setup.outputs.available-runners) }}
58+
go-version: ['1.25.7', '1.26.0']
5959
containerd: ["1.6.39", "1.7.29", "2.0.7", "2.1.5"]
6060
env:
6161
DOCKER_BUILD_ARGS: "CONTAINERD_VERSION=${{ matrix.containerd }}"
6262
steps:
6363
- uses: actions/checkout@v6
6464
- uses: actions/setup-go@v6
6565
with:
66-
go-version: ${{ env.GO_VERSION }}
66+
go-version: ${{ matrix.go-version }}
6767
- name: Install zlib static on AL2 ARM instances
6868
if: matrix.os == 'al2-arm'
6969
run: dnf install zlib-static.aarch64 -y

0 commit comments

Comments
 (0)