Skip to content

👾 Code Scan

👾 Code Scan #100

Workflow file for this run

name: 👾 Code Scan
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
schedule:
- cron: "15 21 * * 6"
workflow_dispatch:
jobs:
codeql:
name: 🏭 Scanning
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: 🏗 Initialize CodeQL
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a
- run: |
INSTALL_PATH="/usr/local"
export PATH=$INSTALL_PATH/bin:"$PATH"
export LD_LIBRARY_PATH=$INSTALL_PATH/lib:"$LD_LIBRARY_PATH"
export CFLAGS=-I$INSTALL_PATH/include
export CPPFLAGS="-I$INSTALL_PATH/include" LDFLAGS="-L$INSTALL_PATH/lib"
CFLAGS="-g -Wall -O3" ./configure --disable-gdbm --without-tcsetpgrp --quiet
make
- name: 🚀 Perform CodeQL Analysis
uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a