Skip to content

Remove variant from base tag #306

Remove variant from base tag

Remove variant from base tag #306

Workflow file for this run

name: Unit tests
on:
push:
branches:
- main
pull_request:
concurrency:
group: ci-unit-test-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
env:
FORCE_COLOR: 1
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
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:
repository: quay.io/kairos/packages
packages: utils/earthly
- name: Run lint
run: |
earthly +lint
- name: Run tests
run: |
earthly +test
- name: Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.out