colbysparks running GitHub Actions on check-examples.yml #126
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Examples | |
run-name: ${{ github.actor }} running GitHub Actions on check-examples.yml | |
on: [workflow_dispatch, pull_request] | |
jobs: | |
check-example-directories: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.9" | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.12" | |
- id: inspect-examples | |
name: Inspect Examples | |
run: | | |
python3 -m pip install --user --upgrade pip | |
python3 -m pip install --user --upgrade pipenv | |
python3 -m pip install --user --upgrade pdm | |
cd tools/check_examples | |
npm install | |
pdm install --dev | |
pdm check all |