Skip to content

* change the hardcoded input dotnet-versionof `actions/setup-dotnet… #21

* change the hardcoded input dotnet-versionof `actions/setup-dotnet…

* change the hardcoded input dotnet-versionof `actions/setup-dotnet… #21

Workflow file for this run

name: c#
on:
push:
paths: [c#/**]
defaults:
run:
working-directory: c#
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
project: [crawler, imagePipeline, shared, tbClient]
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/c#
- run: dotnet build --no-restore -c Debug ${{ matrix.project }}
- run: dotnet tool run jb inspectcode --build -f=sarif -o=sarif.json ${{ matrix.project }}/*.csproj
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: sarif.json