Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Build

on:
push:
workflow_dispatch:
branches:
- master
pull_request:
branches:
- master

env:
PACT_BROKER_BASE_URL: https://testdemo.pactflow.io
Expand All @@ -16,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['8.0.x']
dotnet-version: ['10.0.x']

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
if: ${{ github.event.client_payload.pact_url }}
with:
ref: ${{env.GIT_COMMIT}}
- name: Setup .NET SDK 8.0.x
- name: Setup .NET SDK 10.0.x
uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- run: docker pull pactfoundation/pact-cli:latest
- name: ${{env.DESCRIPTION}}
run: make ci_webhook
4 changes: 2 additions & 2 deletions .github/workflows/verify_changed_pact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup .NET SDK 8.0.x
- name: Setup .NET SDK 10.0.x
uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- run: docker pull pactfoundation/pact-cli:latest
- name: Build
run: GIT_BRANCH=${GITHUB_REF:11} make ci_webhook
5 changes: 1 addition & 4 deletions src/provider.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
<ItemGroup>
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.4" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion tests/tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
Expand Down
Loading