Skip to content

Commit

Permalink
add workflow dispatch to check lesson plan
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderjophus committed May 12, 2024
1 parent 9619bd6 commit 6be2a8c
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
50 changes: 50 additions & 0 deletions .github/workflows/flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Workshop Flow

on:
workflow_dispatch:

jobs:
# A job to help check the workshop flow
diff-train:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- run: git diff --color origin/step1 origin/step2
- run: git diff --color origin/step2 origin/step3
- run: git diff --color origin/step3 origin/step4

sanity-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create k8s Kind Cluster
uses: helm/kind-action@v1

- name: Install Tilt
run: curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.sh | bash

- uses: cue-lang/[email protected]

- run: git checkout origin/step1

- run: tilt ci

- run: git checkout origin/step2

- run: tilt ci

- run: git checkout origin/step3

- run: tilt ci

- run: git checkout origin/step4

- run: tilt ci

- run: tilt down
1 change: 0 additions & 1 deletion .github/workflows/tilt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches: [ "*" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 6be2a8c

Please sign in to comment.