From 34d73faae6bbc879349d51e274cd2ee187c12be5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Mon, 11 Nov 2024 10:01:10 +0100 Subject: [PATCH] Fix Python version used in rebuild --- .github/workflows/rebuild.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rebuild.yaml b/.github/workflows/rebuild.yaml index 971601441..57c153412 100644 --- a/.github/workflows/rebuild.yaml +++ b/.github/workflows/rebuild.yaml @@ -13,9 +13,11 @@ jobs: strategy: fail-fast: false matrix: - branch: - - '1.17' - - '1.18' + include: + - branch: '1.17' + python-version: '3.11' + - branch: '1.18' + python-version: '3.11' env: REDIS_URL: redis://localhost:6379 @@ -32,7 +34,9 @@ jobs: github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}} patterns: pypi docker - - run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH} + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} - run: python3 -m pip install --user --requirement=ci/requirements.txt - name: Checks