aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-11-21 14:42:36 -0500
committerGitHub <noreply@github.com>2020-11-21 14:42:36 -0500
commita597673929bb88a7ecb640ec21f28e9b068549ab (patch)
tree9d7733ca4d89fc18b4fe55182a5022ac5f79a59e
parent05bd1383c141e165f0e72a5dd2ec626376cf33a2 (diff)
parentf17e95abea3ee81c82d5bdb128bb1e9eb4407b1a (diff)
Merge pull request #4538 from mario-campos/master
Implement CodeQL Static Analysis
-rw-r--r--.github/workflows/codeql-analysis.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 000000000..538894818
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,36 @@
+name: "CodeQL"
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+ schedule:
+ - cron: '24 2 * * 4'
+
+jobs:
+ analyze:
+ name: Analyze
+ runs-on: ubuntu-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ language: [ 'csharp' ]
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+ - name: Setup .NET Core
+ uses: actions/setup-dotnet@v1
+ with:
+ dotnet-version: '5.0.100'
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v1
+ with:
+ languages: ${{ matrix.language }}
+ queries: +security-extended
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v1
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v1