2022-01-20 05:37:48 +01:00
|
|
|
name: "CodeQL"
|
|
|
|
|
2022-01-20 06:38:54 +01:00
|
|
|
permissions: read-all
|
|
|
|
|
2022-01-20 05:37:48 +01:00
|
|
|
on:
|
|
|
|
push:
|
2022-08-12 06:17:38 +02:00
|
|
|
branches: [ main ]
|
2022-01-20 05:37:48 +01:00
|
|
|
pull_request:
|
|
|
|
# The branches below must be a subset of the branches above
|
2022-08-12 06:17:38 +02:00
|
|
|
branches: [ main ]
|
2022-01-20 05:37:48 +01:00
|
|
|
schedule:
|
|
|
|
- cron: '45 22 * * 3'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: [ 'go', 'javascript' ]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-09-05 00:35:18 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-01-20 05:37:48 +01:00
|
|
|
|
2024-02-28 05:56:59 +01:00
|
|
|
- uses: actions/setup-go@v5
|
|
|
|
with:
|
2024-03-10 19:59:31 +01:00
|
|
|
go-version: "1.22.x"
|
2024-02-28 05:56:59 +01:00
|
|
|
|
2022-01-20 05:37:48 +01:00
|
|
|
- name: Initialize CodeQL
|
2023-12-18 23:27:32 +01:00
|
|
|
uses: github/codeql-action/init@v3
|
2022-01-20 05:37:48 +01:00
|
|
|
|
|
|
|
- name: Autobuild
|
2023-12-18 23:27:32 +01:00
|
|
|
uses: github/codeql-action/autobuild@v3
|
2022-01-20 05:37:48 +01:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2023-12-18 23:27:32 +01:00
|
|
|
uses: github/codeql-action/analyze@v3
|