Skip to content

Commit

Permalink
use cake-build/cake-action
Browse files Browse the repository at this point in the history
instead of running build.ps1
  • Loading branch information
nils-a committed Jul 1, 2024
1 parent 7a0857a commit 4223ae8
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
5.0.x
8.0.x
# install libgit2-dev on ubuntu, so libgit2sharp works
- name: Install libgit-dev
if: runner.os == 'Linux'
run: sudo apt-get install -y libgit2-dev

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand All @@ -56,8 +61,14 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- run: ./build.ps1
shell: pwsh
- name: Build project
uses: cake-build/cake-action@v1
with:
script-path: recipe.cake
target: DotNetCore-Build
verbosity: Normal
cake-version: 0.38.5
cake-bootstrap: true

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

0 comments on commit 4223ae8

Please sign in to comment.