Update codeql.yml

This commit is contained in:
pointfeev 2022-12-20 16:44:04 -05:00 committed by GitHub
parent dcd77085fd
commit a9fe942e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
name: CodeQL
name: Test
on:
push:
@ -7,29 +7,17 @@ on:
branches: [ main ]
jobs:
analyze:
name: Analyze
test:
name: Test
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@v3
- name: Initialize
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml
- name: Setup
uses: actions/setup-dotnet@v1
with:
@ -43,6 +31,3 @@ jobs:
- name: Test
run: dotnet test --no-build --verbosity normal --configuration Release
- name: Analyze
uses: github/codeql-action/analyze@v2