Rework cmds so they are inline with cobra examples

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
Itxaka
2023-07-19 12:14:44 +02:00
parent 338b9eed08
commit 9ea3d77bb9
8 changed files with 212 additions and 11 deletions

24
.github/workflows/enki.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
---
name: 'run enki unit tests'
on:
pull_request:
concurrency:
group: enki-${{ github.ref || github.head_ref }}
cancel-in-progress: true
env:
FORCE_COLOR: 1
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: earthly/actions/setup-earthly@v1
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build
run: cd tools-image/enki && earthly -P +test