Skip to content

Merge pull request #292 from lduchosal/dependabot/nuget/versionize-1.… #312

Merge pull request #292 from lduchosal/dependabot/nuget/versionize-1.…

Merge pull request #292 from lduchosal/dependabot/nuget/versionize-1.… #312

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install dependencies
run: dotnet tool install --global coveralls.net
- name: Restore dependencies
run: dotnet restore ./src --verbosity m
- name: Restore nugets
run: nuget restore ./src
- name: Pack
run: dotnet pack -c release ./src/System.Net.IPNetwork
- name: Build
run: dotnet build --no-restore -c release ./src/ConsoleApplication --no-restore
- name: Test
run: dotnet test --verbosity normal ./src/ConsoleApplication/ConsoleApplication.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover