chore(deps): update actions/setup-dotnet action to v5 #426
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: .NET Core 6.0 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| - sdk-automation/models | |
| - promote/main | |
| workflow_dispatch: {} | |
| permissions: | |
| contents: read | |
| jobs: | |
| dotnet6-build-and-unit-test: | |
| name: Build and Test on .NET 6.0 | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, windows-latest ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET 6.0 and .NET 8.0 | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 6.0.x | |
| 8.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build (debug) in .NET 6.0 | |
| run: dotnet build --configuration Debug --framework net6.0 --no-restore | |
| - name: Run unit tests on .NET 6.0 | |
| run: dotnet test --no-build --configuration Debug --framework net6.0 --no-restore Adyen.Test/Adyen.Test.csproj |