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-03-15 22:20:48 -07:00
|
|
|
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
|
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-03-15 22:27:51 -07:00
|
|
|
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Initialize CodeQL
|
2023-03-22 18:05:01 -07:00
|
|
|
uses: github/codeql-action/init@67a35a08586135a9573f4327e904ecbf517a882d
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
- name: Autobuild
|
2023-03-22 18:05:01 -07:00
|
|
|
uses: github/codeql-action/autobuild@67a35a08586135a9573f4327e904ecbf517a882d
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2023-03-22 18:05:01 -07:00
|
|
|
uses: github/codeql-action/analyze@67a35a08586135a9573f4327e904ecbf517a882d
|