Skip to content

Commit 5804179

Browse files
Merge pull request #46 from dfxml-working-group/start_scheduled_supply_chain_review
Start schedule-triggered supply-chain review
2 parents ff55695 + 7b1fdb3 commit 5804179

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

.github/workflows/supply-chain.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Portions of this file contributed by NIST are governed by the
2+
# following statement:
3+
#
4+
# This software was developed at the National Institute of Standards
5+
# and Technology by employees of the Federal Government in the course
6+
# of their official duties. Pursuant to title 17 Section 105 of the
7+
# United States Code this software is not subject to copyright
8+
# protection and is in the public domain. NIST assumes no
9+
# responsibility whatsoever for its use by other parties, and makes
10+
# no guarantees, expressed or implied, about its quality,
11+
# reliability, or any other characteristic.
12+
#
13+
# We would appreciate acknowledgement if the software is used.
14+
15+
# This workflow uses Make to review direct dependencies of this
16+
# repository.
17+
18+
name: Supply Chain
19+
20+
on:
21+
schedule:
22+
- cron: '15 5 * * 1,2,3,4,5'
23+
24+
jobs:
25+
build:
26+
27+
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
python-version:
31+
- '3.8'
32+
- '3.9'
33+
34+
steps:
35+
- uses: actions/checkout@v4
36+
with:
37+
fetch-depth: 0
38+
- name: Set up Python ${{ matrix.python-version }}
39+
uses: actions/setup-python@v5
40+
with:
41+
python-version: ${{ matrix.python-version }}
42+
- name: Review dependencies
43+
run: make check-supply-chain

Makefile

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ endif
2020

2121
all:
2222

23+
.PHONY: \
24+
check-mypy \
25+
check-supply-chain
26+
2327
.git_submodule_init.done.log: .gitmodules
2428
# Confirm dfxml_schema has been checked out at least once.
2529
test -r dependencies/dfxml_schema/dfxml.xsd \
@@ -33,11 +37,22 @@ clean:
3337
--directory tests \
3438
clean
3539

36-
check: .git_submodule_init.done.log
40+
check: \
41+
check-mypy
3742
$(MAKE) \
3843
SHELL=$(SHELL) \
3944
--directory tests \
4045
check
4146

47+
check-mypy: \
48+
.git_submodule_init.done.log
49+
$(MAKE) \
50+
SHELL=$(SHELL) \
51+
--directory tests \
52+
check-mypy
53+
54+
check-supply-chain: \
55+
check-mypy
56+
4257
check-tools:
4358
(cd tests/misc_object_tests;make check)

0 commit comments

Comments
 (0)