File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 9
9
pre-commit :
10
10
runs-on : ubuntu-latest
11
11
if : github.event_name == 'pull_request' # pre-commit-ci/lite-action only runs here
12
+ strategy :
13
+ matrix :
14
+ python-version : [3.11, 3.12] # Our min and max supported Python versions
12
15
steps :
13
16
- uses : actions/checkout@v4
14
17
- uses : actions/setup-python@v5
15
18
with :
16
- python-version : 3.12
19
+ python-version : ${{ matrix.python-version }}
17
20
- uses : pre-commit/action@v3.0.1
18
21
- uses : pre-commit-ci/lite-action@v1.0.2
19
22
if : always()
20
23
lint :
21
24
runs-on : ubuntu-latest
25
+ strategy :
26
+ matrix :
27
+ python-version : [3.11, 3.12] # Our min and max supported Python versions
22
28
steps :
23
29
- uses : actions/checkout@v4
24
30
- name : Set up uv
25
- run : curl -LsSf https://astral.sh/uv/install.sh | sh
26
- - run : uv sync
31
+ run : |-
32
+ curl -LsSf https://astral.sh/uv/install.sh | sh
33
+ uv python install ${{ matrix.python-version }}
34
+ - run : uv sync --python-preference=only-managed
27
35
- run : uv run refurb ldp tests
28
36
- run : uv run pylint ldp tests
29
37
test :
You can’t perform that action at this time.
0 commit comments