3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-09 07:45:08 +00:00
yosys/.github/workflows/codeql.yml
Miodrag Milanovic e89c5914fe CodeQL CI fix
2025-11-05 07:10:08 +01:00

35 lines
725 B
YAML

name: "CodeQL"
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
- name: Setup environment
uses: ./.github/actions/setup-build-env
with:
runs-on: ubuntu-latest
get-build-deps: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: cpp
queries: security-extended,security-and-quality
- name: Build
run: make yosys -j6
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3