From 48902f9d862b8c7284458c07654e7c093f7b6a71 Mon Sep 17 00:00:00 2001 From: Nassim Oufattole Date: Tue, 22 Oct 2024 13:48:42 -0400 Subject: [PATCH] updated pre-commit to install from python version 3.12 --- .github/workflows/code-quality-main.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code-quality-main.yaml b/.github/workflows/code-quality-main.yaml index bb2d601..d0a3ee2 100644 --- a/.github/workflows/code-quality-main.yaml +++ b/.github/workflows/code-quality-main.yaml @@ -11,14 +11,21 @@ jobs: code-quality: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.12"] + steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ matrix.python-version }} + + - name: Install packages + run: | + pip install .[dev] - name: Run pre-commits uses: pre-commit/action@v3.0.1