/
clang
/
libsodium
Обзор
Документация
Войти
/
clang
/
libsodium
Код
Вики
Пакеты
0
Релизы
0
Аналитика
master
.github/workflows/codeql-analysis.yml
52 строки
1 KB
Frank Denis
CI: trigger CodeQL properly
11 июн 2026, 16:11
11 июн 2026, 16:11
8e3be86
Код
Авторство
О чём код?
name: "CodeQL scan" on: push: branches: [ "master", "stable", "next" ] pull_request: # The branches below must be a subset of the branches above branches: [ "master", "stable", "next" ] schedule: - cron: '0 17 * * 2' permissions: contents: read jobs: analyze: name: Analyze runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: language: [ 'c-cpp' ] steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: fetch-depth: 2 persist-credentials: false # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 with: languages: ${{ matrix.language }} - run: | echo "Run, Build Application using script" ./autogen.sh -s env CPPFLAGS="-DDEV_MODE=1" ./configure --disable-dependency-tracking make -j $(nproc) check - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 with: category: "/language:${{matrix.language}}"