Skip to content

Commit

Permalink
wip: use single most higher framework
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovchik committed Oct 14, 2024
1 parent b34a164 commit c3175d9
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 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,11 @@ 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: '8.0.x'

- name: Checkout Wiremock fixtures repo
uses: actions/checkout@v3
Expand All @@ -71,7 +64,7 @@ jobs:
cd sinch-sdk-internal-specs/fixtures/python/ && java -jar wiremock-studio-2.32.0-17.jar &
- name: Install dependencies
run: dotnet restore -p:TargetFrameworks=${{ matrix.dotnet-version.tfm }}
run: dotnet restore

- name: Check Formatting
run: dotnet format --verify-no-changes --verbosity diagnostic
Expand All @@ -80,7 +73,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

0 comments on commit c3175d9

Please sign in to comment.