File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 10
10
- name : Install dependencies
11
11
run : sudo apt install -y libpcap-dev libtss2-dev
12
12
13
- - uses : actions/setup-python@v3
13
+ - uses : actions/setup-python@v5
14
+ with :
15
+ python-version : ' 3.12'
14
16
15
17
- uses : syphar/restore-virtualenv@v1
16
18
id : cache-virtualenv
23
25
24
26
# the package installation will only be executed when the
25
27
# requirements-files have changed.
26
- - run : pip install .; pip install pytest autoflake black isort tpm2_pytss
28
+ - run : pip install --upgrade pip && pip install . && pip install pytest autoflake black isort cryptography==3.4.8 tpm2_pytss
27
29
# if: steps.cache-virtualenv.outputs.cache-hit != 'true'
28
30
31
+ - run : pip freeze
32
+
29
33
- name : Test
30
34
run : python -m pytest
31
35
39
43
- name : Install dependencies
40
44
run : sudo apt install -y libpcap-dev bats
41
45
42
- - uses : actions/setup-python@v3
46
+ - uses : actions/setup-python@v5
47
+ with :
48
+ python-version : ' 3.12'
43
49
44
50
- uses : syphar/restore-virtualenv@v1
45
51
id : cache-virtualenv
66
72
- name : Install dependencies
67
73
run : sudo apt install -y libpcap-dev
68
74
69
- - uses : actions/setup-python@v3
75
+ - uses : actions/setup-python@v5
76
+ with :
77
+ python-version : ' 3.12'
70
78
71
79
- uses : syphar/restore-virtualenv@v1
72
80
id : cache-virtualenv
You can’t perform that action at this time.
0 commit comments