mirror of https://github.com/upx/upx.git
31 lines
768 B
YAML
31 lines
768 B
YAML
name: 'Static Analyzer - CodeQL'
|
|
|
|
on:
|
|
schedule: [cron: '40 5 * * 3'] # run weekly Wednesday 05:40 UTC
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
job-analyze-codeql:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [ 'cpp' ]
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
with: { submodules: true }
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v2
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v2
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v2
|