-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (20 loc) · 707 Bytes
/
ci.yml
File metadata and controls
26 lines (20 loc) · 707 Bytes
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Build analyzer
run: dotnet build --configuration Release tools/CodeAnalysisTool/CodeAnalysisTool.csproj
- name: Build tests
run: dotnet build --configuration Release tools/CodeAnalysisTool.Tests/CodeAnalysisTool.Tests.csproj
- name: Run tests
run: dotnet test --configuration Release --no-build --logger "console;verbosity=normal" tools/CodeAnalysisTool.Tests/CodeAnalysisTool.Tests.csproj