Update codeql.yml
This commit is contained in:
parent
dcd77085fd
commit
a9fe942e80
1 changed files with 3 additions and 18 deletions
21
.github/workflows/codeql.yml
vendored
21
.github/workflows/codeql.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue