Create analysis.yml

This commit is contained in:
pointfeev 2021-08-09 07:15:46 -05:00 committed by GitHub
parent 3d8489c4f5
commit 579ab23fc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

38
.github/workflows/analysis.yml vendored Normal file
View file

@ -0,0 +1,38 @@
name: Analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '36 9 * * 3'
jobs:
analyze:
name: Analyze
runs-on: windows-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1