Merge "cleanup: Drop support for MediaWiki < 1.31" #283
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: pre-commit | |
on: | |
push: | |
branches: | |
- master | |
- stable | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
PYWIKIBOT_TEST_RUNNING: 1 | |
PYWIKIBOT_NO_USER_CONFIG: 2 | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: | |
- "3.13" | |
- "3.14-dev" | |
steps: | |
- name: set up python ${{ matrix.python-version }} | |
if: "!endsWith(matrix.python-version, '-dev')" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: set up development python ${{ matrix.python-version }} | |
if: "endsWith(matrix.python-version, '-dev')" | |
uses: deadsnakes/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: run pre-commit | |
uses: pre-commit/[email protected] | |
timeout-minutes: 5 | |
timeout-minutes: 100 |