Skip to content

Commit f9f18fe

Browse files
committed
ci: update exmaple.yml
1 parent 9fc5d2e commit f9f18fe

File tree

5 files changed

+460
-6
lines changed

5 files changed

+460
-6
lines changed

.github/workflows/example.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@ jobs:
1414
with:
1515
deno-version: v1.41
1616
- name: Setup Fluent CI CLI
17-
run: deno install -A -r https://cli.fluentci.io -n fluentci
18-
- name: Setup Dagger
19-
run: |
20-
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.10.0 sh
21-
sudo mv bin/dagger /usr/local/bin
22-
dagger version
17+
uses: fluentci-io/setup-fluentci@v5
2318
- name: Setup Service Account
2419
run: echo $GCP_SERVICE_ACCOUNT > example/fluentci-086b644d4c53.json
2520
env:
2621
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}
22+
- name: Run Example
23+
run: |
24+
fluentci run --wasm . init
25+
fluentci run --wasm . validate
26+
fluentci run --wasm . plan
27+
working-directory: example
28+
env:
29+
GOOGLE_APPLICATION_CREDENTIALS: fluentci-086b644d4c53.json
2730
- name: Run Dagger Pipelines
2831
run: dagger run deno run -A ../src/dagger/runner.ts init validate plan
2932
working-directory: example

example/.fluentci/plugin/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target/*

0 commit comments

Comments
 (0)