Skip to content

Commit

Permalink
Add FindSecBugs Action
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingDepot committed Dec 20, 2023
1 parent 158ca9b commit 8b16ccd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/findsecbugs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "FindSecBugs"

on:
push:
branches:
- rh/action-test
#- main
#pull_request:
#branches:
#- '**'
workflow_dispatch:

jobs:
build-and-scan:
runs-on: ubuntu-latest
permissions:
contents: 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: :codyze-cli:build -x check --parallel -Pversion=0.0.0
- name: Run FindSecBugs
uses: advanced-security/spotbugs-findsecbugs-action@v1
with:
spotbugs_target: "build/"
java_distribution: "temurin"
java_version: "17"

0 comments on commit 8b16ccd

Please sign in to comment.