ci: use Dagger v0.11.7 #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
uses: fluentci-io/setup-fluentci@v5 | |
- name: Setup Service Account | |
run: echo $GCP_SERVICE_ACCOUNT > example/fluentci-086b644d4c53.json | |
env: | |
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} | |
- name: Run Example | |
run: | | |
fluentci run --wasm . init | |
fluentci run --wasm . validate | |
fluentci run --wasm . plan | |
working-directory: example | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: fluentci-086b644d4c53.json | |
- 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 |