2020-12-15 22:59:06 +00:00
|
|
|
name: CodeQL
|
2022-11-06 20:55:49 +00:00
|
|
|
|
2020-07-04 19:30:38 +00:00
|
|
|
on:
|
2020-11-15 20:04:03 +00:00
|
|
|
push:
|
2021-07-12 17:06:22 +00:00
|
|
|
branches:
|
|
|
|
- develop
|
2020-07-04 19:30:38 +00:00
|
|
|
pull_request:
|
2021-07-12 17:06:22 +00:00
|
|
|
branches:
|
|
|
|
- develop
|
2020-12-15 22:59:06 +00:00
|
|
|
schedule:
|
2022-11-06 20:55:49 +00:00
|
|
|
- cron: "0 9 * * 4"
|
|
|
|
|
2020-07-04 19:30:38 +00:00
|
|
|
jobs:
|
2020-12-15 22:59:06 +00:00
|
|
|
analyze:
|
|
|
|
name: Analyze
|
2023-07-15 20:40:45 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2022-11-06 20:55:49 +00:00
|
|
|
|
2021-07-04 22:03:39 +00:00
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
2022-11-06 20:55:49 +00:00
|
|
|
|
2020-12-15 22:59:06 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-11-06 20:55:49 +00:00
|
|
|
language:
|
|
|
|
- go
|
|
|
|
|
2020-07-04 19:30:38 +00:00
|
|
|
steps:
|
2022-11-06 20:55:49 +00:00
|
|
|
- name: Code Checkout
|
2023-10-10 18:43:02 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-11-06 20:55:49 +00:00
|
|
|
|
2020-12-15 22:59:06 +00:00
|
|
|
- name: Initialize CodeQL
|
2022-11-06 20:55:49 +00:00
|
|
|
uses: github/codeql-action/init@v2
|
2020-12-15 22:59:06 +00:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
2022-11-06 20:55:49 +00:00
|
|
|
|
|
|
|
- name: Autobuild
|
|
|
|
uses: github/codeql-action/autobuild@v2
|
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v2
|