Update unit-tests.yml with earthly

This commit is contained in:
Itxaka 2025-04-22 10:54:44 +02:00 committed by GitHub
parent a8e35a94f5
commit c1a92786b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ jobs:
unit-tests:
strategy:
matrix:
go-version: ["1.23-bookworm"]
go-version: ["1.24-bookworm"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
@ -21,10 +21,9 @@ jobs:
with:
fetch-depth: 0
- name: Install earthly
uses: Luet-lab/luet-install-action@v1
uses: earthly/actions-setup@v1
with:
repository: quay.io/kairos/packages
packages: utils/earthly
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: |
earthly +test --GO_VERSION=${{ matrix.go-version }}