Commit 598519c63d8ee4a5824c56d36494993e9cbee57e
1 parent
ef6f4059
Exists in
master
and in
1 other branch
Fixing codeql workflow.
Showing
1 changed file
with
44 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,44 @@ |
1 | +--- | |
2 | +name: CodeQL | |
3 | +on: | |
4 | + push: | |
5 | + branches: | |
6 | + - master | |
7 | + pull_request: | |
8 | + branches: | |
9 | + - master | |
10 | + schedule: | |
11 | + - cron: 48 7 * * 1 | |
12 | +jobs: | |
13 | + analyze: | |
14 | + name: Analyze | |
15 | + runs-on: ubuntu-22.04 | |
16 | + permissions: | |
17 | + actions: read | |
18 | + contents: read | |
19 | + security-events: write | |
20 | + strategy: | |
21 | + fail-fast: false | |
22 | + matrix: | |
23 | + language: | |
24 | + - cpp | |
25 | + steps: | |
26 | + - name: Checkout | |
27 | + uses: actions/checkout@v3 | |
28 | + - name: Install Packages | |
29 | + run: | | |
30 | + echo 'deb http://download.opensuse.org/repositories/home:/PerryWerneck:/pw3270/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:PerryWerneck:pw3270.list | |
31 | + curl -fsSL https://download.opensuse.org/repositories/home:PerryWerneck:pw3270/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_PerryWerneck_pw3270.gpg > /dev/null | |
32 | + sudo apt-get update | |
33 | + sudo apt-get install --yes git make autopoint gettext lib3270-dev pkg-config libgtk-3-dev imagemagick lib3270-dev libv3270-dev | |
34 | + - name: Initialize CodeQL | |
35 | + uses: github/codeql-action/init@v2 | |
36 | + with: | |
37 | + languages: ${{ matrix.language }} | |
38 | + queries: +security-and-quality | |
39 | + - name: Autobuild | |
40 | + uses: github/codeql-action/autobuild@v2 | |
41 | + - name: Perform CodeQL Analysis | |
42 | + uses: github/codeql-action/analyze@v2 | |
43 | + with: | |
44 | + category: /language:${{ matrix.language }} | ... | ... |