From 3deec225fc16a35695a65e3595de18582f7df2e5 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Sat, 18 Jan 2025 00:06:15 +0400 Subject: [PATCH] Update act.yml (#25) * Update act.yml * Update act.yml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update act.yml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update act.yml * Update act.yml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/act.yml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/act.yml b/.github/workflows/act.yml index e9b4732..747a3da 100644 --- a/.github/workflows/act.yml +++ b/.github/workflows/act.yml @@ -14,6 +14,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install act + run: | + curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash + # Add the installation directory to PATH + echo "${{ github.workspace }}/bin" >> $GITHUB_PATH + - name: Launch the cradle uses: cvxgrp/cradle/actions/cradle@main with: @@ -35,17 +41,14 @@ jobs: git add . git commit -m "Initial commit" - - name: Run the marimo flow - id: flow_marimo - working-directory: template - run: | - act -W .github/workflows/marimo.yml -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --env ACT='true' - #env: - # ACT: 'true' + - name: Test Marimo flow + uses: cvxgrp/cradle/actions/flow@main + with: + working-directory: template + workflow: marimo.yml - - name: Run the pre-commit flow - id: flow_pre_commit - shell: bash - working-directory: template - run: | - act -W .github/workflows/pre-commit.yml -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest + - name: Test pre-commit flow + uses: cvxgrp/cradle/actions/flow@main + with: + working-directory: template + workflow: pre-commit.yml