-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (31 loc) · 1.04 KB
/
example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Do not edit this file directly. It is generated by https://deno.land/x/fluent_github_actions
name: Example
on:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.41
- name: Setup Fluent CI CLI
run: deno install -A -r https://cli.fluentci.io -n fluentci
- name: Setup Dagger
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.10.0 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Setup Service Account
run: echo $GCP_SERVICE_ACCOUNT > example/fluentci-086b644d4c53.json
env:
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}
- name: Run Dagger Pipelines
run: dagger run deno run -A ../src/dagger/runner.ts init validate plan
working-directory: example
env:
GOOGLE_APPLICATION_CREDENTIALS: fluentci-086b644d4c53.json
TF_VERSION: 1.7.3