add test build action
This commit is contained in:
@@ -5,6 +5,13 @@ VisualStudioVersion = 17.14.36408.4 d17.14
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSonarqube", "TestSonarqube\TestSonarqube.csproj", "{9EF861DD-89C0-45EC-8914-A1FAD9052B77}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".gitea", ".gitea", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{9AB7403F-27F5-4E37-A3CB-1CF6091DCACA}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
build.yml = build.yml
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@@ -19,6 +26,9 @@ Global
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{9AB7403F-27F5-4E37-A3CB-1CF6091DCACA} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {3E9CFC24-9941-4BA0-907B-B04BCFE6BB74}
|
||||
EndGlobalSection
|
||||
|
||||
19
build.yml
Normal file
19
build.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: build
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore TestSonarqube.sln
|
||||
|
||||
- name: Build
|
||||
run: dotnet build TestSonarqube.sln --no-restore --configuration Release
|
||||
Reference in New Issue
Block a user