Skip to content

Commit

Permalink
[CI] Run pre-commit checks on all supported Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvervloesem committed Sep 22, 2023
1 parent d38b4f1 commit 85ce0f9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@ on:

jobs:
pre-commit:
strategy:
fail-fast: false
matrix:
python:
- "3.8" # oldest Python supported by PSF
- "3.9"
- "3.10"
- "3.11" # newest stable Python
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: ${{ matrix.python }}
- name: Run pre-commit
uses: pre-commit/action@v3.0.0

0 comments on commit 85ce0f9

Please sign in to comment.