Bump actions/checkout from 7.0.0 to 7.0.1 (#181) #1534
This file contains hidden or 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: Run | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - main | |
| schedule: | |
| # At 12:00 UTC on every day-of-month | |
| - cron: "0 12 */1 * *" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: test ${{ matrix.tox_env }} | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { "py": "3.14", "tox_env": "py314" } | |
| - { "py": "3.13", "tox_env": "py313" } | |
| - { "py": "3.12", "tox_env": "py312-cov" } | |
| - { "py": "3.12", "tox_env": "py312" } | |
| - { "py": "3.11", "tox_env": "py311" } | |
| - { "py": "3.10", "tox_env": "py310" } | |
| - { "py": "3.9", "tox_env": "py39" } | |
| - { "py": "3.8", "tox_env": "py38" } | |
| steps: | |
| - name: setup python for tox | |
| uses: actions/setup-python@v6.3.0 | |
| with: | |
| python-version: "3.11" | |
| - name: install tox | |
| run: python -m pip install tox | |
| - uses: actions/checkout@v7.0.1 | |
| - name: setup python for test ${{ matrix.py }} | |
| uses: actions/setup-python@v6.3.0 | |
| with: | |
| python-version: ${{ matrix.py }}-dev | |
| - name: setup test suite ${{ matrix.tox_env }} | |
| run: tox -vv --notest -e ${{ matrix.tox_env }} | |
| - name: run test suite ${{ matrix.tox_env }} | |
| run: tox --skip-pkg-install -e ${{ matrix.tox_env }} | |
| docs: | |
| name: check docs | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - name: setup Python 3.14 | |
| uses: actions/setup-python@v6.3.0 | |
| with: | |
| python-version: "3.14" | |
| - name: install tox | |
| run: python -m pip install tox | |
| - name: install docs dependencies | |
| run: tox -vv --notest -e docs | |
| - name: check docs | |
| run: tox --skip-pkg-install -e docs | |
| lint: | |
| name: lint | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| # mypy needs to be run with the oldest Python version we support. | |
| - name: setup Python 3.8 | |
| uses: actions/setup-python@v6.3.0 | |
| with: | |
| python-version: "3.8" | |
| - name: Install prettier | |
| run: npm install -g prettier | |
| - name: install tox | |
| run: python -m pip install tox | |
| - name: install lint dependencies | |
| run: tox -vv --notest -e lint | |
| - name: lint | |
| run: tox --skip-pkg-install -e lint |