Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build of restore with correct framework #88

Merged
merged 4 commits into from
Oct 16, 2024
Merged
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
16 changes: 6 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ env:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [
{ version: '6.0.x', tfm: 'net6.0' },
{ version: '7.0.x', tfm: 'net7.0' },
{ version: '8.0.x', tfm: 'net8.0' },
]

services:
doppleganger:
Expand Down Expand Up @@ -52,11 +45,14 @@ jobs:
with:
useConfigFile: true

- name: Setup .NET SDK ${{ matrix.dotnet-version.version }}
- name: Setup .NET SDK
id: dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version.version }}
dotnet-version: |
6.0.x
7.0.x
8.0.x

- name: Checkout Wiremock fixtures repo
uses: actions/checkout@v3
Expand All @@ -80,7 +76,7 @@ jobs:
run: dotnet build -p:Version=${{ steps.gitversion.outputs.semVer }} --configuration Release --no-restore

- name: Test
run: dotnet test --no-restore --verbosity normal --framework ${{ matrix.dotnet-version.tfm }}
run: dotnet test --no-restore --verbosity normal

# --include-symbols?
- name: Pack
Expand Down
Loading