Skip to content

Commit 9bde5af

Browse files
authored
Add pre-commit run on Windows (#370)
1 parent 8cf01ac commit 9bde5af

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/pre-commit.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ on: [pull_request]
77

88
jobs:
99
pre-commit:
10-
name: Run pre-commit
11-
runs-on: ubuntu-latest
10+
name: 🏃🏼 Pre-commit on ${{ matrix.os }} / Python ${{ matrix.python-version }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, windows-latest]
15+
python-version: ["3.14"]
1216
steps:
1317
- name: Checkout Code
1418
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -18,7 +22,7 @@ jobs:
1822
- name: Set up Python
1923
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2024
with:
21-
python-version: "3.x"
25+
python-version: ${{ matrix.python-version }}
2226
architecture: "x64"
2327
- name: Install dependencies
2428
run: |

0 commit comments

Comments
 (0)