Skip to content

Commit

Permalink
Remove build from CodeQL
Browse files Browse the repository at this point in the history
Analyse C# code without building it.
  • Loading branch information
martincostello committed Jul 31, 2024
1 parent 6417588 commit f2ed1aa
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Setup .NET SDK
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1

- name: Initialize CodeQL
uses: github/codeql-action/init@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
with:
languages: csharp
build-mode: manual

- name: Build
shell: pwsh
run: |
dotnet build --configuration Release
build-mode: none

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
Expand Down

0 comments on commit f2ed1aa

Please sign in to comment.