From 20377d4532f060742e8670fc0f9ebfcf18a5e2bd Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Mon, 5 Aug 2024 13:25:59 +0000 Subject: [PATCH] ci: setup github actions --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d1044b1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: ci +on: + push: + branches: + - main +jobs: + example: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Setup Fluent CI CLI + uses: fluentci-io/setup-fluentci@v5 + with: + wasm: true + plugin: opentofu + args: | + init + validate + plan + apply -auto-approve + env: + GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 0d1d848..df7a182 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # All Workspace +[![ci](https://github.com/pocketenv-io/all/actions/workflows/ci.yml/badge.svg)](https://github.com/pocketenv-io/all/actions/workflows/ci.yml) + This is a template workspace with homebrew, nix, devenv, devbox, flox and pkgx. It is a starting point for creating a new workspace. ## 🚀 Quick start