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
|
2023-05-15 18:02:47 -07:00
|
|
|
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
2023-03-12 05:39:39 -07:00
|
|
|
go-version: 1.20.2
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Checkout code
|
2023-04-13 21:41:46 -07:00
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Initialize CodeQL
|
2023-06-01 23:43:36 -07:00
|
|
|
uses: github/codeql-action/init@83f0fe6c4988d98a455712a27f0255212bba9bd4
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
- name: Autobuild
|
2023-06-01 23:43:36 -07:00
|
|
|
uses: github/codeql-action/autobuild@83f0fe6c4988d98a455712a27f0255212bba9bd4
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2023-06-01 23:43:36 -07:00
|
|
|
uses: github/codeql-action/analyze@83f0fe6c4988d98a455712a27f0255212bba9bd4
|