Merge pull request #28 from kadampabookings/teavm #94
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: Discover Vulnerabilities Using CodeQL | |
| on: [push] | |
| jobs: | |
| CodeQL-Build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v2 | |
| with: | |
| languages: java | |
| - name: Set up JDK 19 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 19 | |
| - name: Build with Maven | |
| run: mvn package -B | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v2 |