version bump 3.16.0 #261
This file contains 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: mangopay2-net-sdk-ci | |
on: | |
push: | |
branches: | |
# push on master branch | |
- master | |
# push on a feature branch | |
- feature/* | |
# push on a bugfix branch | |
- bugfix/* | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet: ['6.0.x'] | |
name: dotnet ${{ matrix.dotnet }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c Release --no-restore | |
- name: Test .NET 6.0 | |
run: dotnet test ./MangoPay.SDK.Tests/bin/Release/net6.0/MangoPay.SDK.Tests.dll | |
- name: Test .NET 4.8 | |
run: dotnet test ./MangoPay.SDK.Tests/bin/Release/net48/MangoPay.SDK.Tests.dll |