Skip to content

[configurationwebhooks] Code generation: update services and models #2235

[configurationwebhooks] Code generation: update services and models

[configurationwebhooks] Code generation: update services and models #2235

Workflow file for this run

name: .NET Core 8.0
on:
push:
branches:
- main
pull_request:
branches:
- main
- sdk-automation/models
- promote/main
merge_group:
workflow_dispatch: {}
permissions:
contents: read
jobs:
dotnet8-build-and-unit-test:
name: Build and Test on .NET 8.0
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v4
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Clean
run: dotnet clean
- name: Restore dependencies
run: dotnet restore -m:1 # -m:1 disables parallelism and ensures only one build touches /obj.
- name: Build (debug) in .NET 8.0
run: dotnet build --no-restore -m:1 --framework net8.0
env:
UseSharedCompilation: false # We are dealing with two sources of parallelism (see matrix) - Adyen.GeneratedMSBuildEditorConfig.editorconfig gets a .lock-file, this prevents another parallel process from accessing the build during the .lock.
- name: Run unit tests in .NET 8.0
run: dotnet test --no-build --framework net8.0 Adyen.Test/Adyen.Test.csproj