mirror of
https://github.com/curl/curl.git
synced 2026-06-14 22:45:37 +03:00
GHA/codeql: try C with basic query set
This commit is contained in:
parent
53f90cb3b5
commit
a1d903e3a8
1 changed files with 29 additions and 1 deletions
30
.github/workflows/codeql.yml
vendored
30
.github/workflows/codeql.yml
vendored
|
|
@ -41,7 +41,7 @@ concurrency:
|
|||
permissions: {}
|
||||
|
||||
jobs:
|
||||
codeql:
|
||||
gha-python:
|
||||
name: 'GHA and Python'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
|
@ -59,3 +59,31 @@ jobs:
|
|||
|
||||
- name: 'perform analysis'
|
||||
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3
|
||||
|
||||
c:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
security-events: write
|
||||
steps:
|
||||
- name: 'install prereqs'
|
||||
run: |
|
||||
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
|
||||
sudo apt-get -o Dpkg::Use-Pty=0 update
|
||||
sudo rm -f /var/lib/man-db/auto-update
|
||||
sudo apt-get -o Dpkg::Use-Pty=0 install libpsl-dev
|
||||
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: 'initialize'
|
||||
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3
|
||||
with:
|
||||
languages: cpp
|
||||
queries: basic
|
||||
|
||||
- name: 'autobuild'
|
||||
uses: github/codeql-action/autobuild@192325c86100d080feab897ff886c34abd4c83a3 # v3
|
||||
|
||||
- name: 'perform analysis'
|
||||
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue