From f652dcc15bebff67cddde0e96966ae7243206b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 3 Oct 2024 16:22:48 +0200 Subject: [PATCH] CI updates This is done by the automated script named upgrade-c2cciutils-to-1.7 --- .github/renovate.json5 | 12 ++++++++++++ .github/workflows/clean.yaml | 6 ++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index ab54e968..3689ad2e 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -27,6 +27,13 @@ ], datasourceTemplate: 'github-tags', }, + /** Python version in actions/setup-python action */ + { + fileMatch: ['^\\.github/workflows/.*\\.yaml$'], + matchStrings: [' python-version: [\'"](?[0-9\\.]+)[\'"]'], + datasourceTemplate: 'python-version', + depNameTemplate: 'python', + }, ], packageRules: [ /** Auto merge the dev dependency update */ @@ -82,5 +89,10 @@ matchDepNames: ['pycairo'], groupName: 'pycairo', }, + /** Ungroup Python dependencies */ + { + matchDepNames: ['python'], + groupName: 'Python', + }, ], } diff --git a/.github/workflows/clean.yaml b/.github/workflows/clean.yaml index 57809ec5..2ffbff28 100644 --- a/.github/workflows/clean.yaml +++ b/.github/workflows/clean.yaml @@ -21,8 +21,10 @@ jobs: github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}} patterns: docker - - run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH} - - run: python3 -m pip install --user --requirement=ci/requirements.txt + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - run: python3 -m pip install --requirement=ci/requirements.txt - name: Clean Docker hub tags run: c2cciutils-clean