Skip to content

Commit 424e15b

Browse files
committed
Update workflow
1 parent bf86d0a commit 424e15b

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

.github/workflows/check-types.yaml

+4-16
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,17 @@ jobs:
55
python-check:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v3
99
- name: Set up Python 3.x
10-
uses: actions/setup-python@v2
10+
uses: actions/setup-python@v4
1111
with:
12-
python-version: '3.9'
12+
python-version: '3.11'
13+
cache: 'pip' # caching pip dependencies
1314

1415
- name: Upgrade pip
1516
run: |
1617
python3 -m pip install --upgrade pip
1718
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-
3119
- name: Install dependencies
3220
run: |
3321
python3 -m pip install -r ./requirements.txt

0 commit comments

Comments
 (0)