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
|
2024-10-24 17:44:48 -07:00
|
|
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
2023-08-29 11:25:51 -07:00
|
|
|
go-version: 1.21
|
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
|
2024-10-23 18:02:58 -07:00
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Initialize CodeQL
|
2024-10-22 18:03:01 -07:00
|
|
|
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd
|
2021-05-14 04:54:31 -07:00
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
- name: Autobuild
|
2024-10-22 18:03:01 -07:00
|
|
|
uses: github/codeql-action/autobuild@662472033e021d55d94146f66f6058822b0b39fd
|
2021-05-14 04:54:31 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2024-10-22 18:03:01 -07:00
|
|
|
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd
|