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 (#201)
This commit is contained in:
parent
ab57da1382
commit
7b3149e9ce
.github/workflows
10
.github/workflows/unit-tests.yml
vendored
10
.github/workflows/unit-tests.yml
vendored
@ -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:
|
||||
|
6
.github/workflows/webui.yaml
vendored
6
.github/workflows/webui.yaml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user