add test coverage for read_resume_data() when v1 or v2 hashes do not … #604
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: "CodeQL" | |
on: | |
push: | |
branches: [ "RC_2_0", "RC_1_0", "RC_1_1", "RC_1_2", "master" ] | |
pull_request: | |
branches: [ "RC_2_0" ] | |
schedule: | |
- cron: "3 12 * * 2" | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ cpp ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Packages (cpp) | |
if: ${{ matrix.language == 'cpp' }} | |
run: | | |
sudo apt-get update | |
sudo apt-get install --yes libboost-all-dev libssl-dev ninja-build | |
- name: After Prepare (cpp) | |
if: ${{ matrix.language == 'cpp' }} | |
run: 'wget -q "https://github.com/Kitware/CMake/releases/download/v3.21.2/cmake-3.21.2-linux-x86_64.tar.gz" | |
tar xzf cmake-3.21.2-linux-x86_64.tar.gz | |
' | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
queries: +security-and-quality | |
- name: Build cpp | |
if: ${{ matrix.language == 'cpp' }} | |
run: './cmake-3.21.2-linux-x86_64/bin/cmake -Dbuild_examples=ON -Dbuild_tests=ON -Dbuild_tools=ON -GNinja . | |
./cmake-3.21.2-linux-x86_64/bin/cmake --build . | |
' | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |
with: | |
category: "/language:${{ matrix.language }}" |