Elffuss BraidHub

kikocis/EDC public

ci: include CodeQL in verify workflow
Changeset8a5de43432b14c2db9bf46fefbcd612c65515aac9ed14de7f23a2bd1280f0b72
Authorndr_brt <andrea.bertagnolli@gmail.com> · 2024-08-29 12:01 +02:00
Committerndr_brt <andrea.bertagnolli@gmail.com> · 2024-08-29 12:02 +02:00
Parentse5c394cbe957

Browse the files at this changeset

2 files changed

deleted .github/workflows/codeql-analysis.yml +0 −49
@@ -1,49 +0,0 @@
1-name: "CodeQL"
2-
3-on:
4- push:
5- branches: [ main, release/*, bugfix/* ]
6- pull_request:
7- branches: [ main, release/*, bugfix/* ]
8- paths-ignore:
9- - '**.md'
10- - 'docs/**'
11-
12-concurrency:
13- group: ${{ github.workflow }}-${{ github.ref }}
14- cancel-in-progress: true
15-
16-jobs:
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
modified .github/workflows/verify.yaml +5 −0
@@ -16,6 +16,11 @@
1616 cancel-in-progress: true
1717
1818 jobs:
19+
20+ CodeQL:
21+ uses: eclipse-edc/.github/.github/workflows/codeql-analysis.yml@main
22+ secrets: inherit
23+
1924 Checkstyle:
2025 runs-on: ubuntu-latest
2126 steps: