👾 Code Scan #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@8ade135a41bc03ea155e62e844d188df1ea18608 | |
- 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 |