Skip to content

codeql analysis

codeql analysis #285

on:
workflow_dispatch:
schedule:
- cron: 0 6 * * *
name: codeql analysis
jobs:
scan_linux:
name: 'Linux'
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Configure ImageMagick
run: |
export CFLAGS="-Wno-deprecated-declarations"
./configure
echo "" > config.status
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: cpp
- name: Build MagickCache
run: |
make
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3