forked from ahess99/catenax-at-home
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 985 Bytes
/
veracode.yml
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Veracode
# run on manual trigger or once a week
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs:
static_analysis:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- name: Check out main branch
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/[email protected]
with:
java-version: 11
distribution: 'adopt'
cache: gradle
- name: Build api-wrapper
run: ./gradlew build
working-directory: api-wrapper/services/api-wrapper
- name: Veracode Upload And Scan
uses: veracode/[email protected]
with:
appname: 'API-Wrapper'
createprofile: false
filepath: 'api-wrapper/services/build/api-wrapper.zip'
vid: '${{ secrets.VERACODE_API_ID }}'
vkey: '${{ secrets.VERACODE_API_KEY }}'