Skip to content

Check root permissions in commands that need it #561

Check root permissions in commands that need it

Check root permissions in commands that need it #561

Workflow file for this run

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