Skip to content

Commit

Permalink
Update act.yml (#25)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
tschm and pre-commit-ci[bot] authored Jan 17, 2025
1 parent d21c75f commit 3deec22
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/act.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 3deec22

Please sign in to comment.