Skip to content

Commit

Permalink
Merge CodeQL into main build
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKotsenas committed May 31, 2024
1 parent f30377b commit c69d928
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Main build

on:
workflow_dispatch: # Allow running the workflow manually from the GitHub UI
pull_request:
branches:
- master
push:
branches:
- master
Expand Down Expand Up @@ -52,11 +55,6 @@ jobs:
- name: Build
run: dotnet build --no-restore --configuration Release /bl:./artifacts/logs/release/build.release.binlog

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:csharp"

- name: Test
run: dotnet test --no-build --configuration Release

Expand Down Expand Up @@ -91,3 +89,8 @@ jobs:
# path: |
# ./artifacts/package
# if-no-files-found: error

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:csharp"
16 changes: 0 additions & 16 deletions .github/workflows/pr.yml

This file was deleted.

0 comments on commit c69d928

Please sign in to comment.