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-09-13 23:25:14 -07:00
|
|
|
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
|
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-09-13 23:25:14 -07:00
|
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Initialize CodeQL
|
2022-09-18 18:28:06 -07:00
|
|
|
uses: github/codeql-action/init@904260d7d935dff982205cbdb42025ce30b7a34f
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
- name: Autobuild
|
2022-09-18 18:28:06 -07:00
|
|
|
uses: github/codeql-action/autobuild@904260d7d935dff982205cbdb42025ce30b7a34f
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2022-09-18 18:28:06 -07:00
|
|
|
uses: github/codeql-action/analyze@904260d7d935dff982205cbdb42025ce30b7a34f
|