1
0
mirror of https://github.com/kairos-io/kairos-agent.git synced 2025-05-12 02:18:40 +00:00

Add 1.19 go to test matrix ()

This commit is contained in:
Itxaka 2024-01-11 12:29:43 +01:00 committed by GitHub
parent ab57da1382
commit 7b3149e9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions
.github/workflows

View File

@ -11,16 +11,16 @@ concurrency:
cancel-in-progress: true
jobs:
unit-tests:
strategy:
matrix:
# Match this version to the maintained FIPS version in packages at https://github.com/kairos-io/packages/blob/main/packages/toolchain-go/collection.yaml#L63
go-version: ["1.19.10-alpine3.18", "1.20-alpine3.18", "1.21-alpine3.18"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ^1.20
- name: Install earthly
uses: Luet-lab/luet-install-action@v1
with:
@ -28,7 +28,7 @@ jobs:
packages: utils/earthly
- name: Run tests
run: |
earthly -P +test
earthly -P +test --GO_VERSION=${{ matrix.go-version }}
- name: Codecov
uses: codecov/codecov-action@v3
with:

View File

@ -10,6 +10,10 @@ concurrency:
jobs:
webui:
strategy:
matrix:
# Match this version to the maintained FIPS version in packages at https://github.com/kairos-io/packages/blob/main/packages/toolchain-go/collection.yaml#L63
go-version: [ "1.19.10-alpine3.18", "1.20-alpine3.18", "1.21-alpine3.18" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -19,4 +23,4 @@ jobs:
repository: quay.io/kairos/packages
packages: utils/earthly
- name: WebUI tests
run: earthly +webui-tests
run: earthly +webui-tests --GO_VERSION=${{ matrix.go-version }}