Skip to content

Commit

Permalink
Start schedule-triggered supply-chain review
Browse files Browse the repository at this point in the history
Disclaimer:
Participation by NIST in the creation of the documentation of mentioned
software is not intended to imply a recommendation or endorsement by the
National Institute of Standards and Technology, nor is it intended to
imply that any specific software is necessarily the best available for
the purpose.

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Jun 21, 2024
1 parent ff55695 commit 7b1fdb3
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
43 changes: 43 additions & 0 deletions .github/workflows/supply-chain.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Portions of this file contributed by NIST are governed by the
# following statement:
#
# This software was developed at the National Institute of Standards
# and Technology by employees of the Federal Government in the course
# of their official duties. Pursuant to title 17 Section 105 of the
# United States Code this software is not subject to copyright
# protection and is in the public domain. NIST assumes no
# responsibility whatsoever for its use by other parties, and makes
# no guarantees, expressed or implied, about its quality,
# reliability, or any other characteristic.
#
# We would appreciate acknowledgement if the software is used.

# This workflow uses Make to review direct dependencies of this
# repository.

name: Supply Chain

on:
schedule:
- cron: '15 5 * * 1,2,3,4,5'

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.8'
- '3.9'

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Review dependencies
run: make check-supply-chain
17 changes: 16 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ endif

all:

.PHONY: \
check-mypy \
check-supply-chain

.git_submodule_init.done.log: .gitmodules
# Confirm dfxml_schema has been checked out at least once.
test -r dependencies/dfxml_schema/dfxml.xsd \
Expand All @@ -33,11 +37,22 @@ clean:
--directory tests \
clean

check: .git_submodule_init.done.log
check: \
check-mypy
$(MAKE) \
SHELL=$(SHELL) \
--directory tests \
check

check-mypy: \
.git_submodule_init.done.log
$(MAKE) \
SHELL=$(SHELL) \
--directory tests \
check-mypy

check-supply-chain: \
check-mypy

check-tools:
(cd tests/misc_object_tests;make check)

0 comments on commit 7b1fdb3

Please sign in to comment.