Merge pull request #75 from NoxOrg/feature/MP-11997 #32
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: 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 |