ci: add jobs to check cmds and args behavior

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-04-13 17:13:21 +02:00
parent 5abe007a97
commit 614c70320c
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -1,6 +1,7 @@
name: ci
on:
workflow_dispatch:
schedule:
- cron: '0 10 * * *' # everyday at 10am
push:
@ -19,7 +20,7 @@ jobs:
matrix:
version:
- latest
- 0.2.0-beta.1
- 0.2.5
steps:
-
name: Checkout
@ -32,6 +33,33 @@ jobs:
cmds: do test
workdir: ./test/ci
update-do:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Dagger
uses: ./
with:
version: ${{ matrix.version }}
cmds: |
project update
do test
workdir: ./test/ci
args-deprecated:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Dagger
uses: ./
with:
args: do test
workdir: ./test/ci
install-only:
runs-on: ubuntu-latest
strategy:
@ -39,7 +67,7 @@ jobs:
matrix:
version:
- latest
- 0.2.0-beta.1
- 0.2.5
steps:
-
name: Checkout