2021-01-15 20:21:49 +08:00
|
|
|
name: 'Code scanning'
|
2020-08-21 19:42:07 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 19 * * 0'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
CodeQL-Build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-01-15 20:21:49 +08:00
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
2020-08-21 19:42:07 +08:00
|
|
|
|
2021-01-15 20:21:49 +08:00
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v1
|
2020-08-21 19:42:07 +08:00
|
|
|
|
2021-01-15 20:21:49 +08:00
|
|
|
- name: Autobuild
|
|
|
|
uses: github/codeql-action/autobuild@v1
|
2020-08-21 19:42:07 +08:00
|
|
|
|
2021-01-15 20:21:49 +08:00
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v1
|