Update to 24.2 #229
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 Scripts | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
correctly-generated: | |
name: "are correctly generated" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- run: pip install nox | |
- run: nox -s generate | |
- name: Check regenerated scripts vs what is generated by automation. | |
run: git diff --exit-code | |
work-as-advertised: | |
name: "work as advertised" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- run: pip install nox | |
# Install supported Python versions. Keep in sync with noxfile.py as | |
# much as possible, however, GitHub Actions eventually drops support | |
# for EOL Python versions, at which point we can't test them in CI. | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.7" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13-dev" | |
# Check that the scripts work. | |
- run: nox -s check --no-error-on-missing-interpreters |