Refer to containers/ subfolder and the correct path in example #294
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: Type-check Python code | |
on: | |
push: | |
pull_request: | |
jobs: | |
typing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip wheel | |
python -m pip install --upgrade --upgrade-strategy=eager nox | |
- name: Type-check | |
run: nox -e typing | |
working-directory: scripts | |
# vim:set et sts=2: |