Skip to content

Commit

Permalink
update the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jan 17, 2025
1 parent dcad997 commit 2bbacc5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/act.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,6 @@ jobs:
git add .
git commit -m "Initial commit"
- name: Run the ci flow
id: flow_ci
shell: bash
working-directory: template
run: |
act -W .github/workflows/ci.yml -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
- name: Run the book flow
id: flow_book
shell: bash
Expand All @@ -72,3 +65,10 @@ jobs:
working-directory: template
run: |
act -W .github/workflows/pre-commit.yml -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
- name: Run the ci flow
id: flow_ci
shell: bash
working-directory: template
run: |
act -W .github/workflows/ci.yml -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
17 changes: 13 additions & 4 deletions template/.github/workflows/book.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ name: "book"
on:
- push

permissions:
checks: write
contents: read

jobs:

marimo:
permissions:
checks: write
contents: read

runs-on: "ubuntu-latest"
steps:
- name: Checkout [${% raw %}{{ github.repository }}{% endraw %}]
Expand All @@ -19,6 +20,10 @@ jobs:
source_folder: book/marimo

pdoc:
permissions:
checks: write
contents: read

runs-on: "ubuntu-latest"
steps:
- name: Checkout [${% raw %}{{ github.repository }}{% endraw %}]
Expand All @@ -41,6 +46,10 @@ jobs:
source-folder: src/{{ project_name }}

jupyter:
permissions:
checks: write
contents: read

runs-on: "ubuntu-latest"
steps:
- name: Checkout [${% raw %}{{ github.repository }}{% endraw %}]
Expand Down

0 comments on commit 2bbacc5

Please sign in to comment.