Repository navigation
Bump the github-actions group with 3 updates #685
Workflow file for this run
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: | |
| branches: [develop, main] | |
| pull_request: | |
| branches: [develop] | |
| schedule: | |
| - cron: '0 8 * * 0' | |
| jobs: | |
| analyse: | |
| name: Analyse | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read # Required for CodeQL to read the workflow run | |
| contents: read # Required for checkout | |
| security-events: write # Required for uploading the CodeQL results | |
| # dependeabot has on push events only read-only access, but codeql requires write access | |
| if: ${{ !(github.actor == 'dependabot[bot]' && contains(fromJSON('["push"]'), github.event_name)) }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 2 | |
| - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 25 | |
| cache: 'maven' | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2 | |
| with: | |
| languages: java | |
| - name: Build | |
| run: ./mvnw -B test | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2 |