File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on :
4+ push :
5+ branches : [ main, dev ]
6+ pull_request :
7+ branches : [ main, dev ]
8+
9+ jobs :
10+ build-and-test :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+ - name : Setup .NET
17+ uses : actions/setup-dotnet@v1
18+ with :
19+ dotnet-version : 6.0.x
20+ - name : Restore dependencies
21+ run : dotnet restore ./Code/Light.GuardClauses.AllProjects.sln
22+ - name : Build Analyzer
23+ run : dotnet build ./Code/Light.GuardClauses.InternalRoslynAnalyzers/Light.GuardClauses.InternalRoslynAnalyzers.csproj -c Release --no-restore
24+ - name : Build
25+ run : dotnet build ./Code/Light.GuardClauses.AllProjects.sln -c Release --no-restore
26+ - name : Test
27+ run : dotnet test ./Code/Light.GuardClauses.Tests/Light.GuardClauses.Tests.csproj -c Release --no-build --verbosity normal
You can’t perform that action at this time.
0 commit comments