From 6ef72fc2774222afaa66d6d78f7bc8215a245b78 Mon Sep 17 00:00:00 2001 From: Shroominic Date: Wed, 22 Nov 2023 21:25:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8D=20Add=20Python=203.12=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/code-check.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml index 6a1644b..da6279d 100644 --- a/.github/workflows/code-check.yml +++ b/.github/workflows/code-check.yml @@ -6,15 +6,16 @@ jobs: pre-commit: strategy: matrix: - python-version: ['3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: eifinger/setup-rye@v1 with: - python-version: ${{ matrix.python-version }} - - name: Install rye and dependencies - uses: eifinger/setup-rye@v1 + enable-cache: true + cache-prefix: 'venv-funcchain' + - name: pin version + run: rye pin ${{ matrix.python-version }} - name: Sync rye run: rye sync - name: Run pre-commit