Skip to content

CodeQL

CodeQL #567

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
schedule:
- cron: '20 17 * * 1'
jobs:
codeql:
name: codeql
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/setup-go@v3
with:
go-version: ^1.17
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.4.0
with:
version: latest
- name: Build
run: make build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2