mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-08-27 20:39:22 +00:00
Add 1.19 go to test matrix (#201)
This commit is contained in:
parent
ab57da1382
commit
7b3149e9ce
10
.github/workflows/unit-tests.yml
vendored
10
.github/workflows/unit-tests.yml
vendored
@ -11,16 +11,16 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
unit-tests:
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Install Go
|
|
||||||
uses: actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: ^1.20
|
|
||||||
- name: Install earthly
|
- name: Install earthly
|
||||||
uses: Luet-lab/luet-install-action@v1
|
uses: Luet-lab/luet-install-action@v1
|
||||||
with:
|
with:
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
packages: utils/earthly
|
packages: utils/earthly
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
earthly -P +test
|
earthly -P +test --GO_VERSION=${{ matrix.go-version }}
|
||||||
- name: Codecov
|
- name: Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
|
6
.github/workflows/webui.yaml
vendored
6
.github/workflows/webui.yaml
vendored
@ -10,6 +10,10 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
webui:
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -19,4 +23,4 @@ jobs:
|
|||||||
repository: quay.io/kairos/packages
|
repository: quay.io/kairos/packages
|
||||||
packages: utils/earthly
|
packages: utils/earthly
|
||||||
- name: WebUI tests
|
- name: WebUI tests
|
||||||
run: earthly +webui-tests
|
run: earthly +webui-tests --GO_VERSION=${{ matrix.go-version }}
|
||||||
|
Loading…
Reference in New Issue
Block a user