Skip to content

Commit 614c703

Browse files
committed
ci: add jobs to check cmds and args behavior
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
1 parent 5abe007 commit 614c703

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: ci
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '0 10 * * *' # everyday at 10am
67
push:
@@ -19,7 +20,7 @@ jobs:
1920
matrix:
2021
version:
2122
- latest
22-
- 0.2.0-beta.1
23+
- 0.2.5
2324
steps:
2425
-
2526
name: Checkout
@@ -32,14 +33,41 @@ jobs:
3233
cmds: do test
3334
workdir: ./test/ci
3435

36+
update-do:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Checkout
40+
uses: actions/checkout@v3
41+
- name: Dagger
42+
uses: ./
43+
with:
44+
version: ${{ matrix.version }}
45+
cmds: |
46+
project update
47+
do test
48+
workdir: ./test/ci
49+
50+
args-deprecated:
51+
runs-on: ubuntu-latest
52+
steps:
53+
-
54+
name: Checkout
55+
uses: actions/checkout@v3
56+
-
57+
name: Dagger
58+
uses: ./
59+
with:
60+
args: do test
61+
workdir: ./test/ci
62+
3563
install-only:
3664
runs-on: ubuntu-latest
3765
strategy:
3866
fail-fast: false
3967
matrix:
4068
version:
4169
- latest
42-
- 0.2.0-beta.1
70+
- 0.2.5
4371
steps:
4472
-
4573
name: Checkout

0 commit comments

Comments
 (0)