mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
36 lines
703 B
YAML
36 lines
703 B
YAML
name: "CodeQL Scanning"
|
|
# https://github.com/github/codeql-action
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "Makefile"
|
|
- "mongoose.c"
|
|
- "mongoose.h"
|
|
- test/unit-test
|
|
- test/mip-test
|
|
|
|
env:
|
|
IPV6: 0
|
|
jobs:
|
|
CodeQL-Build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
permissions:
|
|
security-events: write
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with: { fetch-depth: 2 }
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v2
|
|
with:
|
|
languages: cpp
|
|
- run: |
|
|
make test CC=gcc
|
|
./test/setup_ga_network.sh && make mip_test CC=gcc
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v2
|