From 4a7b1fac90de091348a3b0cc1811f2e7302e2fa5 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Thu, 19 Mar 2026 04:43:33 +1000 Subject: [PATCH] Add pre-commit run on Windows --- .github/workflows/pre-commit.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index c6e0d30..6afc64d 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,8 +7,12 @@ on: [pull_request] jobs: pre-commit: - name: Run pre-commit - runs-on: ubuntu-latest + name: 🏃🏼 Pre-commit on ${{ matrix.os }} / Python ${{ matrix.python-version }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + python-version: ["3.14"] steps: - name: Checkout Code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -18,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: - python-version: "3.x" + python-version: ${{ matrix.python-version }} architecture: "x64" - name: Install dependencies run: |