-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (35 loc) · 1.5 KB
/
dependencies.yml
File metadata and controls
46 lines (35 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Dependency check
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
jobs:
dependencies:
timeout-minutes: 30
name: Dependency check ${{ matrix.project }}
runs-on: ubuntu-latest
env:
VERSION: latest
API_KEY: ${{ secrets.G_API_KEY }}
NVD_PW: ${{ secrets.G_NVD_PW }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Dependency check migration-library
working-directory: ./migration-library
run: |
./gradlew dependencyCheckAnalyze --debug
curl -X POST --insecure -F "upload=@./build/reports/dependency-check-report.xml" \
"https://osquality-api.quadient.group/scan/api/report/?apiKey=$API_KEY&stream=migration-library&versionName=$VERSION"
- name: Dependency check migration-examples
working-directory: ./migration-examples
run: |
./gradlew dependencyCheckAnalyze --debug
curl -X POST --insecure -F "upload=@./build/reports/dependency-check-report.xml" \
"https://osquality-api.quadient.group/scan/api/report/?apiKey=$API_KEY&stream=migration-examples&versionName=$VERSION"
- name: Dependency check wfd-xml
working-directory: ./wfd-xml
run: |
./gradlew dependencyCheckAggregate --debug
curl -X POST --insecure -F "upload=@./build/reports/dependency-check-report.xml" \
"https://osquality-api.quadient.group/scan/api/report/?apiKey=$API_KEY&stream=wfd-xml&versionName=$VERSION"