ci: use fluentci-io/setup-fluentci@v5 #35
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 | |
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 |