@@ -26,18 +26,22 @@ jobs:
26
26
steps :
27
27
- uses : actions/checkout@v3
28
28
- name : install python
29
- uses : actions/setup-python@v3.1.2
29
+ uses : actions/setup-python@v4
30
30
with :
31
31
python-version : ${{env.pythonversion}}
32
32
- name : create local poetry install
33
33
run : |
34
34
python -m venv .venv
35
35
source .venv/bin/activate
36
+ pip install --upgrade pip setuptools
36
37
python -m pip install poetry
37
38
poetry install
38
39
- uses : trailofbits/gh-action-pip-audit@v1.0.0
39
40
with :
40
41
virtual-environment : .venv
42
+ ignore-vulns : |
43
+ GHSA-w596-4wvx-j9j6 # subversion related git dep, dependency for pytest. This is no impact here.
44
+ GHSA-2p9h-ccw7-33gf # invalid ddos comment on the cleo package
41
45
42
46
lint :
43
47
name : Linter
47
51
- name : Checkout
48
52
uses : actions/checkout@v3
49
53
- name : Setup Python 3.9
50
- uses : actions/setup-python@v4.3.0
54
+ uses : actions/setup-python@v4
51
55
with :
52
56
python-version : ${{env.pythonversion}}
53
57
# ----------------------------------------------
64
68
# ----------------------------------------------
65
69
- name : Load cached venv
66
70
id : cached-poetry-dependencies
67
- uses : actions/cache@v3.0.11
71
+ uses : actions/cache@v3
68
72
with :
69
73
path : .venv
70
74
key : venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
@@ -119,7 +123,7 @@ jobs:
119
123
- name : Checkout
120
124
uses : actions/checkout@v3
121
125
- name : Setup Python ${{ matrix.pyver }}
122
- uses : actions/setup-python@v4.3.0
126
+ uses : actions/setup-python@v4
123
127
with :
124
128
python-version : ${{ matrix.pyver }}
125
129
# ----------------------------------------------
@@ -136,7 +140,7 @@ jobs:
136
140
# ----------------------------------------------
137
141
- name : Load cached venv
138
142
id : cached-poetry-dependencies
139
- uses : actions/cache@v3.0.11
143
+ uses : actions/cache@v3
140
144
with :
141
145
path : .venv
142
146
key : venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
0 commit comments