瀏覽代碼

CodeQL analysis added (#176).

main
offa 3 年之前
父節點
當前提交
c3f0202793
共有 1 個檔案被更改,包括 26 行新增0 行删除
  1. +26
    -0
      .github/workflows/codeql.yml

+ 26
- 0
.github/workflows/codeql.yml 查看文件

@@ -0,0 +1,26 @@
name: codeql

on:
push:
pull_request:
schedule:
- cron: '0 5 * * 3'

jobs:
codeql:
runs-on: ubuntu-20.04
container:
image: "registry.gitlab.com/offa/docker-images/gcc-10:stable"
name: "CodeQL"
steps:
- name: Checkout
uses: actions/checkout@master
- name: CodeQL Initialization
uses: github/codeql-action/init@v1
with:
languages: cpp
queries: +security-and-quality
- name: Build
run: script/ci_build.sh
- name: CodeQL Analysis
uses: github/codeql-action/analyze@v1

Loading…
取消
儲存