Skip to content
This repository was archived by the owner on May 6, 2023. It is now read-only.

Commit

Permalink
ci: Adding github security scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
ViBiOh committed Oct 1, 2020
1 parent 06a8093 commit c91e7c3
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: "CodeQL"

on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "0 0 * * 6"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ["go"]

steps:
- name: Checkout repository
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@v1
with:
languages: ${{ matrix.language }}

- name: Autobuild
run: make build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

0 comments on commit c91e7c3

Please sign in to comment.