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

Commit 3c84f11

Browse files
author
Sauyon Lee
authored
Merge pull request #385 from github/sauyon-patch-1
Enable code scanning
2 parents cbc2443 + ec52bdd commit 3c84f11

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [main, lgtm.com, rc/1.21, rc/1.23, rc/1.24, rc/1.25]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [main]
9+
10+
jobs:
11+
analyze:
12+
name: Analyze
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
language: ['go']
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v2
23+
24+
# Initializes the CodeQL tools for scanning.
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v1
27+
with:
28+
languages: ${{ matrix.language }}
29+
30+
- run: make
31+
32+
- name: Perform CodeQL Analysis
33+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)