File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 12
12
- dev
13
13
- sd3
14
14
15
+ # CKV2_GHA_1: "Ensure top-level permissions are not set to write-all"
16
+ permissions : read-all
17
+
15
18
jobs :
16
19
build :
17
20
runs-on : ${{ matrix.os }}
40
43
- name : Install dependencies
41
44
run : |
42
45
# Pre-install torch to pin version (requirements.txt has dependencies like transformers which requires pytorch)
43
- pip install dadaptation==3.2 torch==${{ matrix.pytorch-version }} torchvision==0.19.0 pytest==8.3.4
46
+ pip install dadaptation==3.2 torch==${{ matrix.pytorch-version }} torchvision pytest==8.3.4
44
47
pip install -r requirements.txt
45
48
46
49
- name : Test with pytest
Original file line number Diff line number Diff line change 12
12
- synchronize
13
13
- reopened
14
14
15
+ # CKV2_GHA_1: "Ensure top-level permissions are not set to write-all"
16
+ permissions : read-all
17
+
15
18
jobs :
16
19
build :
17
20
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments