Skip to content

CodeQL

CodeQL #92

Workflow file for this run

name: "CodeQL"
# yamllint disable-line rule:truthy
on:
schedule:
- cron: '0 9 * * 1'
env:
GOLANG_VERSION: 1.16
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- name: setup golang
uses: actions/setup-go@v3
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: go
- name: vendor
run: go mod vendor
- name: build
uses: wwmoraes/actions/golang/build@master
- name: CodeQL analysis
uses: github/codeql-action/analyze@v1