Created
October 14, 2020 13:07
-
-
Save Moose0621/9c7ec7fa1cf0f47ab816e44b3c1faf16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CodeQL | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v1 | |
| with: | |
| languages: javascript, java | |
| # This repo fails to use the Autobuild from CodeQL | |
| # - name: Autobuild | |
| # uses: Anthophila/codeql-action/codeql/autobuild@master | |
| - name: Set up JDK 1.11 | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 1.11 | |
| - name: Build with Maven | |
| run: mvn -B package --file pom.xml | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment