Skip to content

Commit

Permalink
Chaining workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dockmd committed Feb 7, 2024
1 parent 44eff3a commit 8c53aa2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-validator.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Build validator
on:
workflow_run:
workflows: ["Setup python"]
workflows:
- Setup python
types:
- completed

jobs:
deploy:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout validator repository
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/setup-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ name: Setup python
on: [push]

jobs:
build:

setup:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 8c53aa2

Please sign in to comment.