|
Last change
on this file since 18053 was 18053, checked in by Don-vip, 5 years ago |
|
GitHub Actions : optimize CodeQL analysis, add Checkstyle/PMD/Spotbugs analyses
|
|
File size:
515 bytes
|
| Line | |
|---|
| 1 | name: "Spotbugs"
|
|---|
| 2 |
|
|---|
| 3 | on:
|
|---|
| 4 | push:
|
|---|
| 5 | branches: [ master ]
|
|---|
| 6 | pull_request:
|
|---|
| 7 | # The branches below must be a subset of the branches above
|
|---|
| 8 | branches: [ master ]
|
|---|
| 9 |
|
|---|
| 10 | jobs:
|
|---|
| 11 | analyze:
|
|---|
| 12 | name: Analyze
|
|---|
| 13 | runs-on: ubuntu-latest
|
|---|
| 14 |
|
|---|
| 15 | steps:
|
|---|
| 16 | - name: Checkout repository
|
|---|
| 17 | uses: actions/checkout@v2
|
|---|
| 18 | with:
|
|---|
| 19 | fetch-depth: 256
|
|---|
| 20 |
|
|---|
| 21 | - name: Run Spotbugs with Ant
|
|---|
| 22 | run: |
|
|---|
| 23 | ant spotbugs
|
|---|
| 24 |
|
|---|
| 25 | - uses: jwgmeligmeyling/spotbugs-github-action@master
|
|---|
| 26 | with:
|
|---|
| 27 | path: '**/spotbugs-josm.xml'
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.