2021-01-06 21:54:09 +02:00
|
|
|
name: "CodeQL Analysis"
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
# ┌───────────── minute (0 - 59)
|
|
|
|
# │ ┌───────────── hour (0 - 23)
|
|
|
|
# │ │ ┌───────────── day of the month (1 - 31)
|
|
|
|
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
|
|
|
|
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
|
|
|
|
# │ │ │ │ │
|
|
|
|
# │ │ │ │ │
|
|
|
|
# │ │ │ │ │
|
|
|
|
# * * * * *
|
|
|
|
- cron: '30 1 * * *'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
CodeQL-Build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-03-04 20:15:56 +02:00
|
|
|
uses: actions/checkout@v3
|
2021-01-06 21:54:09 +02:00
|
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
|
|
- name: Initialize CodeQL
|
2022-05-02 16:50:59 +02:00
|
|
|
uses: github/codeql-action/init@v2
|
2021-01-06 21:54:09 +02:00
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
|
|
|
|
- name: Autobuild
|
2022-05-02 16:50:59 +02:00
|
|
|
uses: github/codeql-action/autobuild@v2
|
2021-01-06 21:54:09 +02:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2022-05-02 16:50:59 +02:00
|
|
|
uses: github/codeql-action/analyze@v2
|
2021-01-06 21:54:09 +02:00
|
|
|
|