Skip to content

* change the hardcoded input dotnet-version of `actions/setup-dotne… #24

* change the hardcoded input dotnet-version of `actions/setup-dotne…

* change the hardcoded input dotnet-version of `actions/setup-dotne… #24

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 }}
ReSharper:
runs-on: ubuntu-latest
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/c#
- run: dotnet tool run jb inspectcode --build -f=sarif -o=ReSharper.sarif.json tbm.sln
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: c#/ReSharper.sarif.json