Skip to content

Merge pull request #67 from NoxOrg/feature/nox_solution #152

Merge pull request #67 from NoxOrg/feature/nox_solution

Merge pull request #67 from NoxOrg/feature/nox_solution #152

Workflow file for this run

name: Build & Test
on:
pull_request:
branches: [ main ]
paths:
- src/**
- tests/**
- .github/workflows/nox_ci.yaml
push:
branches: [ main ]
paths:
- src/**
- tests/**
- .github/workflows/nox_ci.yaml
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['7.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.Cli
- name: Build
run: dotnet build ./src/Nox.Cli --warnaserror --configuration Release --no-restore