-
Notifications
You must be signed in to change notification settings - Fork 18
45 lines (43 loc) · 1007 Bytes
/
findsecbugs.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
38
39
40
41
42
43
44
45
name: "FindSecBugs"
on:
push:
branches:
- rh/action-test
#- main
#pull_request:
#branches:
#- '**'
workflow_dispatch:
jobs:
build-and-scan:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17
- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: build -x check --parallel -Pversion=0.0.0
- name: ls
run: |
ls -la
cd build/
ls -la
cd libs/
ls -la
- name: Run FindSecBugs
uses: advanced-security/spotbugs-findsecbugs-action@v1
with:
spotbugs_target: '.'
#spotbugs_filename_glob: '*.jar'
#java_distribution: 'temurin'
#java_version: '17'