39
39
runs-on : ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
40
40
steps :
41
41
- name : Harden Runner
42
- uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11 .0
42
+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12 .0
43
43
with :
44
44
disable-sudo : true
45
45
egress-policy : block
76
76
timeout-minutes : 90
77
77
steps :
78
78
- name : Harden Runner
79
- uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11 .0
79
+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12 .0
80
80
with :
81
81
egress-policy : block
82
82
allowed-endpoints : >
@@ -136,13 +136,13 @@ jobs:
136
136
echo "Today's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}"
137
137
echo "Yesterday's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.yesterday }}"
138
138
- name : Get today's cached database
139
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
139
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
140
140
id : todays-cache
141
141
with :
142
142
path : cache
143
143
key : Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}
144
144
- name : Get yesterday's cached database if today's is not available
145
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
145
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
146
146
if : steps.todays-cache.outputs.cache-hit != 'true'
147
147
with :
148
148
path : cache
@@ -232,13 +232,13 @@ jobs:
232
232
echo "Today's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}"
233
233
echo "Yesterday's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.yesterday }}"
234
234
- name : Get today's cached database
235
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
235
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
236
236
id : todays-cache
237
237
with :
238
238
path : cache
239
239
key : Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}
240
240
- name : Get yesterday's cached database if today's is not available
241
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
241
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
242
242
if : steps.todays-cache.outputs.cache-hit != 'true'
243
243
with :
244
244
path : cache
@@ -285,7 +285,7 @@ jobs:
285
285
--ignore=test/test_language_parser.py
286
286
- name : Upload code coverage to codecov
287
287
if : env.sbom != 'true'
288
- uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
288
+ uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
289
289
with :
290
290
token : ${{ secrets.CODECOV_TOKEN }}
291
291
files : coverage.xml
@@ -349,13 +349,13 @@ jobs:
349
349
echo "Today's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}"
350
350
echo "Yesterday's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.yesterday }}"
351
351
- name : Get today's cached database
352
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
352
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
353
353
id : todays-cache
354
354
with :
355
355
path : cache
356
356
key : Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}
357
357
- name : Get yesterday's cached database if today's is not available
358
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
358
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
359
359
if : steps.todays-cache.outputs.cache-hit != 'true'
360
360
with :
361
361
path : cache
@@ -388,7 +388,7 @@ jobs:
388
388
test/test_language_scanner.py
389
389
- name : Upload code coverage to codecov
390
390
if : env.sbom != 'true'
391
- uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
391
+ uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
392
392
with :
393
393
token : ${{ secrets.CODECOV_TOKEN }}
394
394
files : coverage.xml
@@ -452,13 +452,13 @@ jobs:
452
452
echo "Today's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}"
453
453
echo "Yesterday's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.yesterday }}"
454
454
- name : Get today's cached database
455
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
455
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
456
456
id : todays-cache
457
457
with :
458
458
path : cache
459
459
key : Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}
460
460
- name : Get yesterday's cached database if today's is not available
461
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
461
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
462
462
if : steps.todays-cache.outputs.cache-hit != 'true'
463
463
with :
464
464
path : cache
@@ -491,7 +491,7 @@ jobs:
491
491
test/test_scanner.py
492
492
- name : Upload code coverage to codecov
493
493
if : env.sbom != 'true'
494
- uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
494
+ uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
495
495
with :
496
496
token : ${{ secrets.CODECOV_TOKEN }}
497
497
files : coverage.xml
@@ -555,13 +555,13 @@ jobs:
555
555
echo "Today's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}"
556
556
echo "Yesterday's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.yesterday }}"
557
557
- name : Get today's cached database
558
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
558
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
559
559
id : todays-cache
560
560
with :
561
561
path : cache
562
562
key : Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}
563
563
- name : Get yesterday's cached database if today's is not available
564
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
564
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
565
565
if : steps.todays-cache.outputs.cache-hit != 'true'
566
566
with :
567
567
path : cache
@@ -595,7 +595,7 @@ jobs:
595
595
test/test_cvedb.py
596
596
- name : Upload code coverage to codecov
597
597
if : env.sbom != 'true'
598
- uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
598
+ uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
599
599
with :
600
600
token : ${{ secrets.CODECOV_TOKEN }}
601
601
files : coverage.xml
@@ -632,7 +632,7 @@ jobs:
632
632
EXTERNAL_SYSTEM : 1
633
633
steps :
634
634
- name : Harden Runner
635
- uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11 .0
635
+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12 .0
636
636
with :
637
637
egress-policy : block
638
638
allowed-endpoints : >
@@ -678,13 +678,13 @@ jobs:
678
678
echo "Today's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}"
679
679
echo "Yesterday's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.yesterday }}"
680
680
- name : Get today's cached database
681
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
681
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
682
682
id : todays-cache
683
683
with :
684
684
path : cache
685
685
key : Linux-cve-bin-tool-${{ steps.get-date.outputs.date }}
686
686
- name : Get yesterday's cached database if today's is not available
687
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
687
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
688
688
if : steps.todays-cache.outputs.cache-hit != 'true'
689
689
with :
690
690
path : cache
@@ -766,7 +766,7 @@ jobs:
766
766
PYTHONIOENCODING : ' utf8'
767
767
steps :
768
768
- name : Harden Runner
769
- uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11 .0
769
+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12 .0
770
770
with :
771
771
egress-policy : audit
772
772
@@ -785,14 +785,14 @@ jobs:
785
785
echo "Today's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.DATE }}"
786
786
echo "Yesterday's Cache Key: Linux-cve-bin-tool-${{ steps.get-date.outputs.YESTERDAY }}"
787
787
- name : Get today's cached database
788
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
788
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
789
789
id : todays-cache
790
790
with :
791
791
path : cache
792
792
key : Linux-cve-bin-tool-${{ steps.get-date.outputs.DATE }}
793
793
enableCrossOsArchive : true
794
794
- name : Get yesterday's cached database if today's is not available
795
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
795
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
796
796
if : steps.todays-cache.outputs.cache-hit != 'true'
797
797
with :
798
798
path : cache
@@ -839,7 +839,7 @@ jobs:
839
839
test/test_cli.py
840
840
test/test_cvedb.py
841
841
- name : Cache conda
842
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
842
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
843
843
env :
844
844
# Increase to reset cache if requirements.txt file has not changed
845
845
CACHE_NUMBER : 0
@@ -873,7 +873,7 @@ jobs:
873
873
-o junit_family=legacy
874
874
--durations=50
875
875
- name : Upload code coverage to codecov
876
- uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
876
+ uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
877
877
with :
878
878
files : coverage.xml
879
879
flags : windows_long_tests
0 commit comments