|
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:
747 bytes
|
| Line | |
|---|
| 1 | name: "CodeQL"
|
|---|
| 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 | schedule:
|
|---|
| 10 | - cron: '45 4 * * 1'
|
|---|
| 11 |
|
|---|
| 12 | jobs:
|
|---|
| 13 | analyze:
|
|---|
| 14 | name: Analyze
|
|---|
| 15 | runs-on: ubuntu-latest
|
|---|
| 16 |
|
|---|
| 17 | strategy:
|
|---|
| 18 | fail-fast: false
|
|---|
| 19 | matrix:
|
|---|
| 20 | language: [ 'java' ]
|
|---|
| 21 |
|
|---|
| 22 | steps:
|
|---|
| 23 | - name: Checkout repository
|
|---|
| 24 | uses: actions/checkout@v2
|
|---|
| 25 | with:
|
|---|
| 26 | fetch-depth: 256
|
|---|
| 27 |
|
|---|
| 28 | - name: Initialize CodeQL
|
|---|
| 29 | uses: github/codeql-action/init@v1
|
|---|
| 30 | with:
|
|---|
| 31 | languages: ${{ matrix.language }}
|
|---|
| 32 |
|
|---|
| 33 | - name: Compile with Ant
|
|---|
| 34 | run: |
|
|---|
| 35 | ant compile extract-libraries epsg
|
|---|
| 36 |
|
|---|
| 37 | - name: Perform CodeQL Analysis
|
|---|
| 38 | uses: github/codeql-action/analyze@v1
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.