Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 1945238

Browse files
authored
Add CodeQL Analysis workflow (#266)
1 parent 6effd6b commit 1945238

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/codeql.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: "Code Scanning - Action"
2+
3+
on:
4+
push:
5+
schedule:
6+
- cron: '0 0 * * 0'
7+
8+
jobs:
9+
CodeQL-Build:
10+
11+
strategy:
12+
fail-fast: false
13+
14+
15+
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v2
21+
22+
# Initializes the CodeQL tools for scanning.
23+
- name: Initialize CodeQL
24+
uses: github/codeql-action/init@v1
25+
# Override language selection by uncommenting this and choosing your languages
26+
# with:
27+
# languages: go, javascript, csharp, python, cpp, java
28+
29+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
30+
# If this step fails, then you should remove it and run the build manually (see below).
31+
- name: Autobuild
32+
uses: github/codeql-action/autobuild@v1
33+
34+
# ℹ️ Command-line programs to run using the OS shell.
35+
# 📚 https://git.io/JvXDl
36+
37+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
38+
# and modify them (or add more) to build your code if your project
39+
# uses a compiled language
40+
41+
#- run: |
42+
# make bootstrap
43+
# make release
44+
45+
- name: Perform CodeQL Analysis
46+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)