Skip to content

Commit 05882ad

Browse files
authored
Merge pull request #569 from kolyshkin/ci-gover
ci: use "stable" and "oldstable" Go versions
2 parents ba1eadf + 74bd7ce commit 05882ad

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/integration.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ jobs:
1111

1212
conmon:
1313
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
go-version: [stable, oldstable]
1417
steps:
1518
- uses: actions/checkout@v4
1619
- uses: actions/setup-go@v5
1720
with:
18-
go-version: '1.22'
21+
go-version: ${{ matrix.go-version }}
1922
- run: sudo hack/github-actions-setup
2023
- name: Run conmon integration tests
2124
run: |
@@ -24,11 +27,14 @@ jobs:
2427
2528
cri-o:
2629
runs-on: ubuntu-latest
30+
strategy:
31+
matrix:
32+
go-version: [stable, oldstable]
2733
steps:
2834
- uses: actions/checkout@v4
2935
- uses: actions/setup-go@v5
3036
with:
31-
go-version: '1.22'
37+
go-version: ${{ matrix.go-version }}
3238
- run: sudo hack/github-actions-setup
3339
- name: Run CRI-O integration tests
3440
run: |

.github/workflows/validate.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
- main
88
- release-*
99
pull_request:
10-
env:
11-
GO_VERSION: 1.24
1210
permissions:
1311
contents: read
1412

@@ -21,7 +19,7 @@ jobs:
2119
- name: install go
2220
uses: actions/setup-go@v5
2321
with:
24-
go-version: "${{ env.GO_VERSION }}"
22+
go-version: stable
2523
- name: Verify Go dependencies
2624
run: |
2725
make vendor

0 commit comments

Comments
 (0)