Skip to content

Bump the actions group across 1 directory with 4 updates #449

Bump the actions group across 1 directory with 4 updates

Bump the actions group across 1 directory with 4 updates #449

Workflow file for this run

name: Build
on: [push, pull_request, workflow_dispatch]
permissions: {}
env:
FORCE_COLOR: 1
jobs:
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: 3.x
- run: pip install tox
- run: tox -e doc
build:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - ${{ matrix.python }} ${{ matrix.build }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm]
python: ['3.12']
build: ['']
include:
- os: ubuntu-latest
python: 'pypy3.10'
- os: ubuntu-latest
python: 'pypy3.9'
- os: ubuntu-latest
python: '3.9'
- os: ubuntu-latest
python: '3.10'
- os: ubuntu-latest
python: '3.11'
- os: ubuntu-latest
python: '3.12'
- os: ubuntu-latest
python: '3.13-dev'
build: 'free-threading'
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
if: ${{ matrix.build != 'free-threading' }}
with:
python-version: ${{ matrix.python }}
- name: Set up Python ${{ matrix.python }} using deadsnakes
uses: deadsnakes/action@e640ac8743173a67cca4d7d77cd837e514bf98e8 # v3.2.0
if: ${{ matrix.build == 'free-threading' }}
with:
python-version: ${{ matrix.python }}
nogil: true
- name: Display Python version
run: |
python -VV
python -c 'import sysconfig; print("Free threading?", "Yes" if sysconfig.get_config_var("Py_GIL_DISABLED") else "No")'
- name: Install Tox and any other packages
run: pip install tox
- name: Run Tox
# Run tox using the version of Python in `PATH`
run: tox -e py