File tree 1 file changed +23
-1
lines changed
1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 14
14
schedule :
15
15
- cron : ' 0 6 * * *' # Daily 6AM UTC build
16
16
17
+ env :
18
+ pythonversion : 3.9
19
+
17
20
18
21
jobs :
19
22
23
+ dependency-audit :
24
+ name : Dependency audit
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@v3
28
+ - name : install python
29
+
30
+ with :
31
+ python-version : ${{env.pythonversion}}
32
+ - name : create local poetry install
33
+ run : |
34
+ python -m venv .venv
35
+ source .venv/bin/activate
36
+ python -m pip install poetry
37
+ poetry install
38
+ -
uses :
trailofbits/[email protected]
39
+ with :
40
+ virtual-environment : .venv
41
+
20
42
lint :
21
43
name : Linter
22
44
runs-on : ubuntu-latest
27
49
- name : Setup Python 3.9
28
50
29
51
with :
30
- python-version : 3.9
52
+ python-version : ${{env.pythonversion}}
31
53
# ----------------------------------------------
32
54
# ----- install & configure poetry -----
33
55
# ----------------------------------------------
You can’t perform that action at this time.
0 commit comments