Merge pull request #48 from crazy-max/ci-workflow

ci: add jobs to check cmds and args behavior
This commit is contained in:
CrazyMax 2022-04-13 17:25:45 +02:00 committed by GitHub
commit 95e6ab9a10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After

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