From 9eadba907ce1aff2ed910cd146838e14adae03a0 Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Fri, 4 Aug 2023 18:04:13 +0200 Subject: [PATCH] Get Python version from project file --- .github/workflows/test_and_publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index 33bb5c2..7a5ec53 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -31,7 +31,6 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] steps: - name: Check out code @@ -39,10 +38,10 @@ jobs: with: submodules: recursive - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v5.1.0 with: - python-version: ${{ matrix.python-version }} + python-version-file: setup.cfg - name: Install dependencies run: |