File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11
11
dist :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/setup-python@v3
14
+ - uses : actions/setup-python@v4
15
+ with :
16
+ python-version : " 3.10"
15
17
- uses : actions/checkout@v3
16
18
- run : python -m pip install --upgrade pip build wheel twine
17
19
- run : python -m build --sdist --wheel
@@ -46,14 +48,12 @@ jobs:
46
48
- isort --check-only --diff .
47
49
- pydocstyle .
48
50
steps :
49
- - uses : actions/setup-python@v3
50
51
- uses : actions/checkout@v3
51
- - uses : actions/cache@v3
52
+ - uses : actions/setup-python@v4
52
53
with :
53
- path : ~/.cache/pip
54
- key : ${{ runner.os }}-pip-${{ hashFiles('linter-requirements.txt') }}
55
- restore-keys : |
56
- ${{ runner.os }}-pip-
54
+ python-version : " 3.10"
55
+ cache : ' pip'
56
+ cache-dependency-path : ' linter-requirements.txt'
57
57
- run : python -m pip install -r linter-requirements.txt
58
58
- run : ${{ matrix.lint-command }}
59
59
75
75
steps :
76
76
- uses : actions/checkout@v3
77
77
- name : Set up Python ${{ matrix.python-version }}
78
- uses : actions/setup-python@v3
78
+ uses : actions/setup-python@v4
79
79
with :
80
80
python-version : ${{ matrix.python-version }}
81
81
Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v3
13
- - uses : actions/setup-python@v3
13
+ - uses : actions/setup-python@v4
14
+ with :
15
+ python-version : " 3.10"
14
16
- run : python -m pip install --upgrade pip build wheel twine
15
17
- uses : actions/setup-node@v3
16
18
- name : Install Node dependencies
You can’t perform that action at this time.
0 commit comments