Code scanning - action #854
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 scanning - action" | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 8 * * 6' | |
permissions: | |
security-events: write | |
jobs: | |
CodeQL-Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
- name: Build project | |
run: | | |
sudo apt -q update | |
sudo apt install -y libpam-dev asciidoc autoconf automake libtool \ | |
software-properties-common libssl-dev pkg-config | |
sudo apt-add-repository -u -y ppa:yubico/stable | |
sudo apt install -y libfido2-dev | |
./autogen.sh | |
./configure --disable-man | |
make | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |