diff --git a/.github/workflows/dotnet-core-pr.yml b/.github/workflows/dotnet-core-pr.yml
new file mode 100644
index 0000000..b2c679b
--- /dev/null
+++ b/.github/workflows/dotnet-core-pr.yml
@@ -0,0 +1,23 @@
+name: .NET Core build+test for pull requests
+
+on:
+ pull_request:
+ branches: [ main ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup .NET Core
+ uses: actions/setup-dotnet@v1
+ with:
+ dotnet-version: 3.1.x
+ - name: Install dependencies
+ run: dotnet restore
+ - name: Build
+ run: dotnet build --configuration Release --no-restore
+ - name: Test
+ run: dotnet test --no-restore --verbosity normal
diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml
index 628e2d7..ae68a26 100644
--- a/.github/workflows/dotnet-core.yml
+++ b/.github/workflows/dotnet-core.yml
@@ -3,8 +3,6 @@ name: .NET Core build pack and push
on:
push:
branches: [ main ]
- pull_request:
- branches: [ main ]
jobs:
build:
diff --git a/BlazorTemplater.sln b/BlazorTemplater.sln
index f4f962e..b3efdf7 100644
--- a/BlazorTemplater.sln
+++ b/BlazorTemplater.sln
@@ -23,6 +23,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{B0E3EF40-C
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorTemplater.ConsoleApp", "BlazorTemplater.ConsoleApp\BlazorTemplater.ConsoleApp.csproj", "{B1C3C891-8000-4AAB-AEAA-1902EDF6D3B0}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "github", "github", "{B8C750B3-D263-4450-84C8-EB1A54F12BA5}"
+ ProjectSection(SolutionItems) = preProject
+ .github\workflows\dotnet-core-pr.yml = .github\workflows\dotnet-core-pr.yml
+ .github\workflows\dotnet-core.yml = .github\workflows\dotnet-core.yml
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
diff --git a/BlazorTemplater/BlazorTemplater.csproj b/BlazorTemplater/BlazorTemplater.csproj
index 762152a..01f6a86 100644
--- a/BlazorTemplater/BlazorTemplater.csproj
+++ b/BlazorTemplater/BlazorTemplater.csproj
@@ -9,7 +9,7 @@
https://github.com/conficient/BlazorTemplater
https://github.com/conficient/BlazorTemplater
Blazor RazorComponents HTML Email Templating
- 1.1.0
+ 1.1.1
Breaking change: renamed BlazorTemplater class to Templater