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