Skip to content

Scan code for vulnerabilities #7

Scan code for vulnerabilities

Scan code for vulnerabilities #7

Workflow file for this run

name: Scan code for vulnerabilities
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# run 05:00 every Monday
- cron: '00 05 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "go"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2