Commit 424e15b 1 parent bf86d0a commit 424e15b Copy full SHA for 424e15b
File tree 1 file changed +4
-16
lines changed
1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change 5
5
python-check :
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@v2
8
+ - uses : actions/checkout@v3
9
9
- name : Set up Python 3.x
10
- uses : actions/setup-python@v2
10
+ uses : actions/setup-python@v4
11
11
with :
12
- python-version : ' 3.9'
12
+ python-version : ' 3.11'
13
+ cache : ' pip' # caching pip dependencies
13
14
14
15
- name : Upgrade pip
15
16
run : |
16
17
python3 -m pip install --upgrade pip
17
18
18
- - name : Get pip cache dir
19
- id : pip-cache
20
- run : |
21
- echo "::set-output name=dir::$(pip cache dir)"
22
-
23
- - name : Cache dependencies
24
- uses : actions/cache@v2
25
- with :
26
- path : ${{ steps.pip-cache.outputs.dir }}
27
- key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
28
- restore-keys : |
29
- ${{ runner.os }}-pip-
30
-
31
19
- name : Install dependencies
32
20
run : |
33
21
python3 -m pip install -r ./requirements.txt
You can’t perform that action at this time.
0 commit comments