Release v4.1.0 #52
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: .NET Main Workflow | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master, rc-** ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET 6.0.x | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Restore CSharp examples dependencies | |
working-directory: ./Examples/CSharp | |
run: dotnet restore | |
- name: Build CSharp examples | |
working-directory: ./Examples/CSharp | |
run: dotnet build --no-restore | |
- name: Restore FSharp examples dependencies | |
working-directory: ./Examples/FSharp | |
run: dotnet restore | |
- name: Build FSharp examples | |
working-directory: ./Examples/FSharp | |
run: dotnet build --no-restore | |
- name: Install formatter | |
run: dotnet tool update --global dotnet-format | |
- name: Diagnose Formatting | |
run: dotnet format analyzers --verify-no-changes --verbosity diagnostic | |
- name: Test | |
run: dotnet test --no-build --verbosity normal |