diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 00000000..1ec4edc2 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,28 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +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 + - name: Build + run: dotnet build --no-restore + # - name: Test + # run: dotnet test --no-build --verbosity normal diff --git a/KenticoInspector.Actions/KenticoInspector.Actions.csproj b/KenticoInspector.Actions/KenticoInspector.Actions.csproj index cb1072d5..bca1f1bc 100644 --- a/KenticoInspector.Actions/KenticoInspector.Actions.csproj +++ b/KenticoInspector.Actions/KenticoInspector.Actions.csproj @@ -1,7 +1,7 @@  - netcoreapp2.2 + net8.0 diff --git a/KenticoInspector.Core.Tests/KenticoInspector.Core.Tests.csproj b/KenticoInspector.Core.Tests/KenticoInspector.Core.Tests.csproj index 33a955c2..f17452b6 100644 --- a/KenticoInspector.Core.Tests/KenticoInspector.Core.Tests.csproj +++ b/KenticoInspector.Core.Tests/KenticoInspector.Core.Tests.csproj @@ -1,7 +1,7 @@  - netcoreapp2.2 + net8.0 false diff --git a/KenticoInspector.Core/KenticoInspector.Core.csproj b/KenticoInspector.Core/KenticoInspector.Core.csproj index 8fae0dc1..b860dabe 100644 --- a/KenticoInspector.Core/KenticoInspector.Core.csproj +++ b/KenticoInspector.Core/KenticoInspector.Core.csproj @@ -1,7 +1,7 @@ - + - netcoreapp2.2 + net8.0 7.1 diff --git a/KenticoInspector.Infrastructure.Tests/KenticoInspector.Infrastructure.Tests.csproj b/KenticoInspector.Infrastructure.Tests/KenticoInspector.Infrastructure.Tests.csproj index 95c497d4..98b87bd5 100644 --- a/KenticoInspector.Infrastructure.Tests/KenticoInspector.Infrastructure.Tests.csproj +++ b/KenticoInspector.Infrastructure.Tests/KenticoInspector.Infrastructure.Tests.csproj @@ -1,7 +1,7 @@  - netcoreapp2.2 + net8.0 false diff --git a/KenticoInspector.Infrastructure/KenticoInspector.Infrastructure.csproj b/KenticoInspector.Infrastructure/KenticoInspector.Infrastructure.csproj index 4253e5dc..4034d81f 100644 --- a/KenticoInspector.Infrastructure/KenticoInspector.Infrastructure.csproj +++ b/KenticoInspector.Infrastructure/KenticoInspector.Infrastructure.csproj @@ -1,7 +1,7 @@  - netcoreapp2.2 + net8.0 7.1 diff --git a/KenticoInspector.Reports.Tests/KenticoInspector.Reports.Tests.csproj b/KenticoInspector.Reports.Tests/KenticoInspector.Reports.Tests.csproj index 4303f4ec..6b8f615c 100644 --- a/KenticoInspector.Reports.Tests/KenticoInspector.Reports.Tests.csproj +++ b/KenticoInspector.Reports.Tests/KenticoInspector.Reports.Tests.csproj @@ -1,7 +1,7 @@  - netcoreapp2.2 + net8.0 false diff --git a/KenticoInspector.Reports/KenticoInspector.Reports.csproj b/KenticoInspector.Reports/KenticoInspector.Reports.csproj index 5e25c3f1..f87a1152 100644 --- a/KenticoInspector.Reports/KenticoInspector.Reports.csproj +++ b/KenticoInspector.Reports/KenticoInspector.Reports.csproj @@ -1,7 +1,7 @@ - + - netcoreapp2.2 + net8.0 7.1 diff --git a/KenticoInspector.WebApplication/KenticoInspector.WebApplication.csproj b/KenticoInspector.WebApplication/KenticoInspector.WebApplication.csproj index e6fead5b..101ad8b0 100644 --- a/KenticoInspector.WebApplication/KenticoInspector.WebApplication.csproj +++ b/KenticoInspector.WebApplication/KenticoInspector.WebApplication.csproj @@ -1,7 +1,7 @@  - netcoreapp2.2 + net8.0 InProcess 7.1