update workflows (#58)
[storage-units.git] / .github / workflows / codeql-analysis.yml
blob2081466ed392baae6ac69ae304911bc6f55a6ba4
1 # SPDX-FileCopyrightText: The Storage-Units Authors
2 # SPDX-License-Identifier: 0BSD
4 name: CodeQL
5 on:
6   schedule:
7     - cron: 42 3 * * TUE
8 jobs:
9   analyze:
10     name: Analyze
11     runs-on: ubuntu-latest
12     permissions:
13       actions: read
14       contents: read
15       security-events: write
16     strategy:
17       fail-fast: false
18       matrix:
19         language: [ java ]
20     steps:
21     - name: Checkout repository
22       uses: actions/checkout@v4
23     - uses: ./.github/actions/managed-java
24     - name: Initialize CodeQL
25       uses: github/codeql-action/init@v3
26       with:
27         languages: ${{ matrix.language }}
28     - name: Autobuild
29       uses: github/codeql-action/autobuild@v3
30     - name: Perform CodeQL Analysis
31       uses: github/codeql-action/analyze@v3