Skip to content

Code Scanning

Code Scanning #421

Workflow file for this run

name: Code Scanning
on:
push:
branches: [main]
pull_request:
branches: [main]
paths-ignore:
- "**/*.md"
schedule:
- cron: "0 0 * * 0"
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Load .env file
uses: cardinalby/export-env-action@v2
with:
envFile: .env
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: go
queries: security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1