2022-03-31 12:12:54 +02:00
|
|
|
name: CodeQL
|
2022-03-11 16:25:14 +01:00
|
|
|
|
2022-08-04 22:30:04 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [main]
|
|
|
|
pull_request:
|
|
|
|
branches: [main]
|
2022-03-11 16:25:14 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
security-events: write
|
|
|
|
steps:
|
2022-03-16 14:38:08 +01:00
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Initialize CodeQL
|
2022-08-04 22:30:04 +02:00
|
|
|
uses: github/codeql-action/init@v2
|
2022-03-16 14:38:08 +01:00
|
|
|
with:
|
2022-03-31 12:12:54 +02:00
|
|
|
languages: go
|
2022-03-16 14:38:08 +01:00
|
|
|
- name: Autobuild
|
2022-08-04 22:30:04 +02:00
|
|
|
uses: github/codeql-action/autobuild@v2
|
2022-03-16 14:38:08 +01:00
|
|
|
- name: Perform CodeQL Analysis
|
2022-08-04 22:30:04 +02:00
|
|
|
uses: github/codeql-action/analyze@v2
|