Skip to content

Commit

Permalink
Possible CodeQL .NET 8 Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Reelix authored Dec 3, 2023
1 parent 67f310f commit d9231eb
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,19 @@ on:

jobs:
analyze:
name: Analyze
name: analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.100'
- uses: actions/checkout@v4

- name: Initialize CodeQL
- name: init-codeql
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
languages: csharp

- name: Autobuild
- name: autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
- name: codeql-analyze
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

0 comments on commit d9231eb

Please sign in to comment.