File tree Expand file tree Collapse file tree 5 files changed +22
-34
lines changed Expand file tree Collapse file tree 5 files changed +22
-34
lines changed Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
" NVD-check " :
15
- runs-on : ubuntu-latest
15
+ runs-on : ubuntu-22.04
16
16
17
17
steps :
18
18
@@ -32,15 +32,17 @@ jobs:
32
32
# the most recent cache for nvd-clojure
33
33
# and update that
34
34
restore-keys : " nvd-clojure-"
35
-
35
+
36
+ - uses : actions/setup-java@v4
37
+ with :
38
+ distribution : ' temurin'
39
+ java-version : ' 21'
40
+
36
41
- name : Install clj runtime
37
42
run : |
38
43
.github/workflows/install-binaries.sh
39
44
echo "${PWD}/bin" >> $GITHUB_PATH
40
45
41
- - name : Install NVD clojure
42
- run : .github/workflows/install-nvd-clojure-tool.sh
43
-
44
46
- name : Check that NVD Secret is set
45
47
env :
46
48
NVD_API_TOKEN : ${{ secrets.NVD_API_TOKEN }}
49
51
50
52
- name : Check clojure dependencies with NVD
51
53
env :
52
- NVD_API_TOKEN : ${{ secrets.NVD_API_TOKEN }}
53
- run : clojure -J-Dclojure.main.report=stderr -Tnvd nvd.task/check :config-filename '".nvd-config.json"' :classpath "\"$(clojure -Spath)\""
54
+ CLJ_WATSON_NVD_API_KEY : " ${{ secrets.NVD_API_TOKEN }}"
55
+ run : |
56
+ clojure -M:clj-watson scan -p deps.edn -f -w .watson.properties
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
SPDX-FileContributor: Joost Diepenmaat
5
5
-->
6
6
<suppressions xmlns =" https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd" >
7
- <!-- This is an automatically generated config file by nvd-clojure. -->
8
- <!-- Feel free to tweak it, version-control it and remove any comment. -->
9
- <!-- You can find suppression examples in https://jeremylong.github.io/DependencyCheck/general/suppression.html -->
10
- <suppress >
11
- <notes >This is a vulnerability in clojure before 1.9.0, which we are not using</notes >
12
- <cve >CVE-2017-20189</cve >
13
- </suppress >
14
7
</suppressions >
Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2024, 2025 SURF B.V.
2
+ # SPDX-License-Identifier: EPL-2.0 WITH Classpath-exception-2.0
3
+
4
+ suppression.file =.nvd-suppressions.xml
Original file line number Diff line number Diff line change 15
15
nl.jomco/spider {:mvn/version " 0.2.1" }}
16
16
:aliases {:test {:extra-deps {lambdaisland/kaocha {:mvn/version " RELEASE" }}
17
17
:main-opts [" -m" " kaocha.runner" ]}
18
+
18
19
:clj-kondo {:replace-deps {clj-kondo/clj-kondo {:mvn/version " RELEASE" }}
19
20
:main-opts [" -m" " clj-kondo.main" ]}
21
+
20
22
:outdated {:replace-deps {com.github.liquidz/antq {:mvn/version " RELEASE" }}
21
- :main-opts [" -m" " antq.core" ]}}}
23
+ :main-opts [" -m" " antq.core" ]}
24
+
25
+ :clj-watson {:replace-deps
26
+ {io.github.clj-holmes/clj-watson
27
+ {:git/tag " v6.0.1" :git/sha " b520351" }}
28
+ :main-opts [" -m" " clj-watson.cli" ]}}}
You can’t perform that action at this time.
0 commit comments