-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (31 loc) · 858 Bytes
/
c#.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
checkout_path: c#