Elffuss BraidHub

kikocis/EDC public

d4e7e32bc7c5 · 1.6 KiBRawPermalink
1name: "CodeQL"
2
3on:
4 push:
5 branches: [ main, release/*, bugfix/* ]
6 pull_request:
7 branches: [ main, release/*, bugfix/* ]
8 paths-ignore:
9 - '**.md'
10 - 'docs/**'
11
12concurrency:
13 group: ${{ github.workflow }}-${{ github.ref }}
14 cancel-in-progress: true
15
16jobs:
17 analyze:
18 name: Analyze
19 runs-on: ubuntu-latest
20
21 strategy:
22 fail-fast: false
23 matrix:
24 language: [ 'java' ]
25 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
26 # Learn more:
27 # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
28
29 steps:
30 - uses: actions/checkout@v4
31 - uses: eclipse-edc/.github/.github/actions/setup-build@main
32
33 # Initializes the CodeQL tools for scanning.
34 - name: Initialize CodeQL
35 uses: github/codeql-action/init@v3
36 with:
37 languages: ${{ matrix.language }}
38 queries: +security-and-quality
39 # If you wish to specify custom queries, you can do so here or in a config file.
40 # By default, queries listed here will override any specified in a config file.
41 # Prefix the list here with "+" to use these queries and those in the config file.
42 # queries: ./path/to/local/query, your-org/your-repo/queries@main
43
44 # Compiles production Java source (without tests)
45 - name: Build
46 run: ./gradlew compileJava --no-daemon
47
48 - name: Perform CodeQL Analysis
49 uses: github/codeql-action/analyze@v3