2021-05-14 04:54:31 -07:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- 'README.md'
|
|
|
|
- 'CONTRIBUTING.md'
|
|
|
|
- 'COPYING'
|
2022-05-12 22:54:59 -07:00
|
|
|
- 'website/**'
|
2021-05-14 04:54:31 -07:00
|
|
|
- '.github/*.md'
|
|
|
|
- '.github/FUNDING.yml'
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
name: Code QL
|
|
|
|
jobs:
|
|
|
|
code-ql:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: ${{ github.workspace }}/src
|
|
|
|
steps:
|
|
|
|
- name: Install Go
|
2022-12-01 21:56:26 -08:00
|
|
|
uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
2022-03-20 23:17:33 -07:00
|
|
|
go-version: 1.18
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Checkout code
|
2022-10-04 18:31:50 -07:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Initialize CodeQL
|
2022-12-01 16:30:32 -08:00
|
|
|
uses: github/codeql-action/init@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
- name: Autobuild
|
2022-12-01 16:30:32 -08:00
|
|
|
uses: github/codeql-action/autobuild@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2022-12-01 16:30:32 -08:00
|
|
|
uses: github/codeql-action/analyze@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297
|