Skip to content

Merge pull request #75 from NoxOrg/feature/MP-11997 #32

Merge pull request #75 from NoxOrg/feature/MP-11997

Merge pull request #75 from NoxOrg/feature/MP-11997 #32

name: Build & Test
on:
pull_request:
branches: [ main ]
paths:
- src/Nox.Reference.Common/**
- src/Nox.Reference.Data.Common/**
- src/Nox.Reference.Data.IpAddress/**
- tests/Nox.Reference.Data.IpAddress.Tests/**
- .github/workflows/nox.reference.data.ipdddress.ci.yaml
push:
branches: [ main ]
paths:
- src/Nox.Reference.Data.IpAddress/**
- tests/Nox.Reference.Data.IpAddress.Tests/**
- .github/workflows/nox.reference.data.ipaddress.ci.yaml
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['8.0.x']
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore
run: dotnet restore ./src/Nox.Reference.Data.IpAddress/Nox.Reference.Data.IpAddress.csproj
- name: Build
run: dotnet build ./src/Nox.Reference.Data.IpAddress/Nox.Reference.Data.IpAddress.csproj --warnaserror --configuration Release --no-restore
- name: Tests
run: dotnet test ./tests/Nox.Reference.Data.IpAddress.Tests/Nox.Reference.Data.IpAddress.Tests.csproj --no-restore --verbosity minimal --configuration Release