Skip to content

Merge pull request #80 from github/dependabot/github_actions/goreleas… #252

Merge pull request #80 from github/dependabot/github_actions/goreleas…

Merge pull request #80 from github/dependabot/github_actions/goreleas… #252

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: 0 0 * * 0
jobs:
analyse:
name: Analyse
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2