chore(deps): update all non-major dependencies #1120
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: Python Unit CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
# Python <= 3.9 is not available on macos-14 | |
# Workaround for https://github.com/actions/setup-python/issues/696 | |
exclude: | |
- platform: macos-latest | |
python: '3.9' | |
- platform: macos-latest | |
python: '3.8' | |
- platform: macos-latest | |
python: '3.7' | |
include: | |
- platform: macos-latest | |
python: '3.9' | |
- platform: macos-13 | |
python: '3.8' | |
- platform: macos-13 | |
python: '3.7' | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
auth.docker.io:443 | |
files.pythonhosted.org:443 | |
github.com:443 | |
production.cloudflare.docker.com:443 | |
pypi.org:443 | |
registry-1.docker.io:443 | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Use Python ${{ matrix.python }} | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox | |
run: python -m pip install tox | |
- name: Test | |
run: python -m tox -e py-${{ matrix.platform }} |