2022-03-06 21:48:25 +08:00
|
|
|
name: CodeQL
|
2021-04-13 21:25:55 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-07-01 22:49:29 +08:00
|
|
|
branches: [ rm ]
|
2021-04-13 21:25:55 +08:00
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-03-06 21:48:25 +08:00
|
|
|
language: ['go']
|
2021-04-13 21:25:55 +08:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-03-06 21:48:25 +08:00
|
|
|
uses: actions/checkout@v3
|
2021-04-13 21:25:55 +08:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v1
|
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
|
|
|
|
- name: Autobuild
|
|
|
|
uses: github/codeql-action/autobuild@v1
|
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v1
|