File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed
Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 1818 " (^|/)(requirements[\\ w-]*\\ .txt|\\ .pre-commit-config\\ .yaml)$"
1919 ]
2020 },
21- "regexManagers" : [
22- {
23- "fileMatch" : [" ^\\ .github/workflows/check\\ .yml$" ],
24- "matchStrings" : [" \\ s(?<depName>[\\ w-]+)==(?<currentValue>\\ S+)" ],
25- "datasourceTemplate" : " pypi"
26- }
27- ],
2821 "packageRules" : [
2922 {
3023 "matchFiles" : [" requirements-test.txt" ],
Original file line number Diff line number Diff line change 1+ -r ../requirements-dev.txt
2+
3+ gitlint == 0.18.0
4+ pre-commit >= 1.18.2
Original file line number Diff line number Diff line change @@ -14,19 +14,19 @@ jobs:
1414 with :
1515 ref : ${{ github.event.pull_request.head.sha }}
1616 fetch-depth : 0
17- - uses : actions/setup-python@v4
1817 - uses : actions/cache@v3
1918 with :
2019 path : |
2120 ~/.cache/pip
2221 key : >-
2322 ${{ runner.os }} pip
24- ${{ hashFiles('requirements-dev.txt', 'requirements-test.txt') }}
25- - run : |
23+ ${{ hashFiles('requirements-dev.txt', 'requirements-test.txt',
24+ '.github/requirements.txt') }}
25+ - name : Install dependencies
26+ run : |
2627 python3 -m venv venv
2728 source venv/bin/activate
28- python3 -m pip install -Ur \
29- requirements-dev.txt gitlint==0.18.0 "pre-commit>=1.18.2"
29+ python3 -m pip install -Ur .github/requirements.txt
3030 - name : Run gitlint
3131 run : |
3232 set -euo pipefail
7373 ${{ hashFiles('requirements-test.txt') }}
7474 - run : |
7575 set -euxo pipefail
76- python3 -m pip install -U nox codecov ${{ matrix.extra-deps }}
76+ python3 -m pip install -U nox codecov
7777 v="${{ matrix.python-version }}"
7878 v=${v##* } # "3.12.0-alpha - 3.12" -> "3.12"
7979 v=${v//-} # "pypy-3.9" -> "pypy3.9"
You can’t perform that action at this time.
0 commit comments