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-13 21:17:49 -08:00
|
|
|
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
|
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-01-05 16:26:15 -08:00
|
|
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Initialize CodeQL
|
2023-03-12 18:44:24 -07:00
|
|
|
uses: github/codeql-action/init@16964e90ba004cdf0cd845b866b5df21038b7723
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
- name: Autobuild
|
2023-03-12 18:44:24 -07:00
|
|
|
uses: github/codeql-action/autobuild@16964e90ba004cdf0cd845b866b5df21038b7723
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2023-03-12 18:44:24 -07:00
|
|
|
uses: github/codeql-action/analyze@16964e90ba004cdf0cd845b866b5df21038b7723
|