File tree Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
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 within the United States. NIST assumes no responsibility
9
+ # whatsoever for its use by other parties, and makes no guarantees,
10
+ # expressed or implied, about its quality, reliability, or any other
11
+ # 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 : Prerelease
19
+
20
+ on :
21
+ pull_request :
22
+ branches :
23
+ - main
24
+
25
+ jobs :
26
+ build :
27
+
28
+ runs-on : ubuntu-latest
29
+ strategy :
30
+ matrix :
31
+ python-version :
32
+ - ' 3.9'
33
+ - ' 3.12'
34
+
35
+ steps :
36
+ - uses : actions/checkout@v3
37
+ - name : Set up Python ${{ matrix.python-version }}
38
+ uses : actions/setup-python@v4
39
+ with :
40
+ python-version : ${{ matrix.python-version }}
41
+ - name : Review dependencies
42
+ run : make check-supply-chain-pre-commit
Original file line number Diff line number Diff line change 28
28
.venv-pre-commit/var/.pre-commit-built.log
29
29
30
30
.PHONY : \
31
+ check-supply-chain \
32
+ check-supply-chain-pre-commit \
31
33
download
32
34
33
35
.git_submodule_init.done.log : \
@@ -89,6 +91,19 @@ check: \
89
91
--directory tests \
90
92
check
91
93
94
+ # This target's dependencies potentially modify the working directory's Git state, so it is intentionally not a dependency of check.
95
+ check-supply-chain : \
96
+ check-supply-chain-pre-commit
97
+
98
+ # This target is scheduled to run as part of prerelease review.
99
+ check-supply-chain-pre-commit : \
100
+ .venv-pre-commit/var/.pre-commit-built.log
101
+ source .venv-pre-commit/bin/activate \
102
+ && pre-commit autoupdate
103
+ git diff \
104
+ --exit-code \
105
+ .pre-commit-config.yaml
106
+
92
107
clean :
93
108
@$(MAKE ) \
94
109
PYTHON3=$(PYTHON3 ) \
You can’t perform that action at this time.
0 commit comments