Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit eaea493

Browse files
authored
ci: codeql (#113)
1 parent ded5707 commit eaea493

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

β€Ž.github/workflows/codeql.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "Code Scanning - Action"
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ minute (0 - 59)
8+
# β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ hour (0 - 23)
9+
# β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the month (1 - 31)
10+
# β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ month (1 - 12 or JAN-DEC)
11+
# β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the week (0 - 6 or SUN-SAT)
12+
# β”‚ β”‚ β”‚ β”‚ β”‚
13+
# β”‚ β”‚ β”‚ β”‚ β”‚
14+
# β”‚ β”‚ β”‚ β”‚ β”‚
15+
# * * * * *
16+
- cron: '30 1 * * 0'
17+
18+
jobs:
19+
CodeQL-Build:
20+
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v2
26+
27+
# Initializes the CodeQL tools for scanning.
28+
- name: Initialize CodeQL
29+
uses: github/codeql-action/init@v1
30+
# Override language selection by uncommenting this and choosing your languages
31+
with:
32+
languages: go
33+
34+
- name: Perform CodeQL Analysis
35+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
Β (0)