Code scanning - action #1687
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 9 * * 1' | |
permissions: | |
security-events: write | |
actions: read | |
contents: read | |
jobs: | |
CodeQL-Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
- run: | | |
sudo apt install libpcsclite-dev check gengetopt help2man openssl opensc | |
mkdir cmake_build; cd cmake_build | |
cmake .. -DVERBOSE_CMAKE=ON && make | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |