File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 56
56
# uses a compiled language
57
57
58
58
- run : |
59
- dotnet build csharp
59
+ cd csharp
60
+ dotnet tool restore
61
+ dotnet build .
60
62
61
63
- name : Perform CodeQL Analysis
62
64
uses : github/codeql-action/analyze@main
Original file line number Diff line number Diff line change @@ -81,10 +81,11 @@ jobs:
81
81
dotnet-version : 8.0.101
82
82
- name : Extractor unit tests
83
83
run : |
84
+ dotnet tool restore
84
85
dotnet test -p:RuntimeFrameworkVersion=8.0.1 extractor/Semmle.Util.Tests
85
86
dotnet test -p:RuntimeFrameworkVersion=8.0.1 extractor/Semmle.Extraction.Tests
86
87
dotnet test -p:RuntimeFrameworkVersion=8.0.1 autobuilder/Semmle.Autobuild.CSharp.Tests
87
- dotnet test -p:RuntimeFrameworkVersion=8.0.1 "${{ github.workspace }}/csharp/ autobuilder/Semmle.Autobuild.Cpp.Tests"
88
+ dotnet test -p:RuntimeFrameworkVersion=8.0.1 autobuilder/Semmle.Autobuild.Cpp.Tests
88
89
shell : bash
89
90
stubgentest :
90
91
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ function dotnet_publish {
24
24
dotnet publish --self-contained --configuration Release --runtime ${dotnet_platform} -p:RuntimeFrameworkVersion=8.0.1 $1 --output extractor-pack/tools/${platform}
25
25
}
26
26
27
+ dotnet tool restore
27
28
dotnet_publish extractor/Semmle.Extraction.CSharp.Standalone
28
29
dotnet_publish extractor/Semmle.Extraction.CSharp.Driver
29
30
dotnet_publish autobuilder/Semmle.Autobuild.CSharp
You can’t perform that action at this time.
0 commit comments