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-08-08 17:50:30 -07:00
|
|
|
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
2023-07-08 23:14:27 -07:00
|
|
|
go-version: 1.20.5
|
2023-07-10 04:40:31 -07:00
|
|
|
cache-dependency-path: src/go.sum
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Checkout code
|
2023-06-11 18:36:25 -07:00
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Initialize CodeQL
|
2023-06-11 22:08:17 -07:00
|
|
|
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
- name: Autobuild
|
2023-06-11 22:08:17 -07:00
|
|
|
uses: github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2023-06-11 22:08:17 -07:00
|
|
|
uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a
|