This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
Implemented Length type #63 #141
Workflow file for this run
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: | |
workflow_dispatch: # allow to run the workflow manually | |
pull_request: | |
branches: [ main ] | |
paths: | |
- src/** | |
- tests/** | |
- .github/workflows/ci.yaml | |
push: | |
branches: [ main ] | |
paths: | |
- src/** | |
- tests/** | |
- .github/workflows/ci.yaml | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet-version: ['6.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.Types.sln | |
- name: Build | |
run: dotnet build ./src/Nox.Types.sln --warnaserror --configuration Release --no-restore | |
- name: Run Tests | |
run: dotnet test ./tests/Nox.Types.Tests --no-restore --verbosity minimal --configuration Release |