Test GitHub actions #9
Workflow file for this run
This file contains 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: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
analyze: | |
name: Analyze Java Code | |
runs-on: ubuntu-latest | |
timeout-minutes: 360 | |
permissions: | |
security-events: write | |
packages: read | |
actions: read | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: java | |
build-mode: none | |
# - name: Perform CodeQL Analysis | |
# uses: github/codeql-action/analyze@v3 | |
# with: | |
# category: "/language:java" | |
# - name: Action to run java checkstyle | |
# uses: nitinsh99/[email protected] | |
- name: Upload CodeQL results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: codeql-results | |
path: /home/runner/work/_temp/codeql_results |