2023-03-05 16:38:29 +01:00
|
|
|
name: "Code scanning - action"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
schedule:
|
|
|
|
- cron: '30 1 * * 6'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
CodeQL-Build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-09-24 08:44:16 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-03-05 16:38:29 +01:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Set up Go
|
2023-12-10 16:40:13 +01:00
|
|
|
uses: actions/setup-go@v5
|
2023-03-05 16:38:29 +01:00
|
|
|
with:
|
2024-02-17 20:42:33 +01:00
|
|
|
go-version: '1.22'
|
2023-03-05 16:38:29 +01:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
2024-04-30 20:45:27 +02:00
|
|
|
uses: github/codeql-action/init@v3
|
2023-03-05 16:38:29 +01:00
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
|
|
|
|
- name: Autobuild
|
2024-04-30 20:45:27 +02:00
|
|
|
uses: github/codeql-action/autobuild@v3
|
2023-03-05 16:38:29 +01:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2024-04-30 20:45:27 +02:00
|
|
|
uses: github/codeql-action/analyze@v3
|