-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
31 lines (31 loc) · 856 Bytes
/
action.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
name: 'SpotBugs GitHub Action'
description: 'Runs SpotBugs Static Analysis Tool for Java - https://spotbugs.github.io/'
branding:
icon: 'check'
color: 'blue'
inputs:
spotbugs-version:
description: 'SpotBugs version to use.'
default: 'latest'
required: false
arguments:
description: 'Command arguments to be sent to SpotBugs'
required: true
default: ''
output:
description: 'Output file name'
required: true
target:
description: 'Target of what you want to analyze'
required: true
runs:
using: "composite"
steps:
- id: spotbot-analysis
run: ${{ github.action_path }}/analyze.sh
shell: bash
env:
SPOTBUGS_VERSION: ${{ inputs.spotbugs-version }}
OUTPUT: ${{ inputs.output }}
ARGUMENTS: ${{ inputs.arguments }}
TARGET: ${{ inputs.target }}