Skip to content

Enhancement: require .NET Framework 6.0 as minimum version #174

Enhancement: require .NET Framework 6.0 as minimum version

Enhancement: require .NET Framework 6.0 as minimum version #174

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build and run tests
runs-on: [ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
# Build
- name: Install dependencies
run: dotnet restore src/MercadoPago/MercadoPago.csproj
- name: Build
run: dotnet build src/MercadoPago/MercadoPago.csproj --configuration Release --no-restore
# Run Tests
- name: Install tests dependencies
run: dotnet restore src/MercadoPago.Tests/MercadoPago.Tests.csproj
- name: Run tests
run: dotnet test src/MercadoPago.Tests/MercadoPago.Tests.csproj -f net6.0 --configuration Release --no-restore
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
USER_EMAIL: ${{ secrets.USER_EMAIL }}