Skip to content

Add netstandard2.0 support #44

Add netstandard2.0 support

Add netstandard2.0 support #44

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
configuration: [ 'Release', 'Debug' ]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 3.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.0.x
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Clean dependencies and caches
run: dotnet clean src --configuration ${{ matrix.configuration }} && dotnet nuget locals all --clear
- name: Restore dependencies
run: dotnet restore src
- name: Build
run: dotnet build --no-restore --configuration ${{ matrix.configuration }} src
- name: Tests
run: dotnet test --no-build --configuration ${{ matrix.configuration }} src
continue-on-error: ${{ matrix.os == 'macos-latest' }}
- name: Upload code coverage
uses: codecov/[email protected]
with:
token: 5605db1d-f7eb-4a6b-bb3a-556d61df4d5c
directory: src/VCDiff.Tests/