This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
Code Scanning - Action #329
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Code Scanning - Action" | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- '**.go' | |
- 'go.mod' | |
- '.github/workflows/codeql.yml' | |
pull_request: | |
paths: | |
- '**.go' | |
- 'go.mod' | |
- '.github/workflows/codeql.yml' | |
schedule: | |
# ββββββββββββββ minute (0 - 59) | |
# β ββββββββββββββ hour (0 - 23) | |
# β β ββββββββββββββ day of the month (1 - 31) | |
# β β β ββββββββββββββ month (1 - 12 or JAN-DEC) | |
# β β β β ββββββββββββββ day of the week (0 - 6 or SUN-SAT) | |
# β β β β β | |
# β β β β β | |
# β β β β β | |
# * * * * * | |
- cron: '30 1 * * 0' | |
jobs: | |
CodeQL-Build: | |
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v1 | |
# Override language selection by uncommenting this and choosing your languages | |
with: | |
languages: go | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v1 |