From 624d7af8942d60e04dcf740d041748ebb9345c52 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 7 Feb 2023 14:31:43 +1000 Subject: [PATCH] Test pre-commit on Windows --- .github/workflows/lint.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bd3056ae..ab408f4d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,8 +29,14 @@ jobs: - name: Misspell run: git ls-files --empty-directory | grep -v docs/ | xargs ./misspell -error pre-commit: - name: Run pre-commit # https://pre-commit.com/ - runs-on: ubuntu-latest + name: "Run pre-commit on ${{ matrix.os }}" # https://pre-commit.com/ + runs-on: "${{ matrix.os }}" + strategy: + fail-fast: false + matrix: + include: + - {os: ubuntu-latest} + - {os: windows-latest} steps: - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" uses: actions/checkout@v3