Skip to content

Commit 4ff117f

Browse files
authored
Merge pull request #1360 from camptocamp/c2cciutils-upgrade
CI updates
2 parents f7f3891 + f4bb90b commit 4ff117f

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/renovate.json5

+12
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@
3939
],
4040
datasourceTemplate: 'github-tags',
4141
},
42+
/** Python version in actions/setup-python action */
43+
{
44+
fileMatch: ['^\\.github/workflows/.*\\.yaml$'],
45+
matchStrings: [' python-version: [\'"](?<currentValue>[0-9\\.]+)[\'"]'],
46+
datasourceTemplate: 'python-version',
47+
depNameTemplate: 'python',
48+
},
4249
],
4350
packageRules: [
4451
/** Less strict version for Docker images */
@@ -130,5 +137,10 @@
130137
matchUpdateTypes: ['major', 'minor'],
131138
groupName: 'gdal',
132139
},
140+
/** Ungroup Python dependencies */
141+
{
142+
matchDepNames: ['python'],
143+
groupName: 'Python',
144+
},
133145
],
134146
}

.github/workflows/clean.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ jobs:
1717
github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}
1818
patterns: docker
1919

20-
- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
21-
- run: python3 -m pip install --user --requirement=ci/requirements.txt
20+
- uses: actions/setup-python@v5
21+
with:
22+
python-version: '3.11'
23+
- run: python3 -m pip install --requirement=ci/requirements.txt
2224

2325
- name: Clean Docker hub tags
2426
run: c2cciutils-clean

0 commit comments

Comments
 (0)