Bump NUnit from 4.2.2 to 4.3.1 #215
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
# ------------------------------------------------------------------------------ | |
# <auto-generated> | |
# | |
# This code was generated. | |
# | |
# - To turn off auto-generation set: | |
# | |
# [CustomGitHubActions (AutoGenerate = false)] | |
# | |
# - To trigger manual generation invoke: | |
# | |
# nuke --generate-configuration GitHubActions_pr_validation --host GitHubActions | |
# | |
# </auto-generated> | |
# ------------------------------------------------------------------------------ | |
name: pr_validation | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
jobs: | |
windows-latest: | |
name: windows-latest | |
runs-on: windows-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/[email protected] | |
with: | |
lfs: true | |
fetch-depth: 0 | |
- name: "Install .NET SDK" | |
uses: actions/[email protected] | |
with: | |
global-json-file: "./global.json" | |
- name: "Update release notes" | |
shell: pwsh | |
run: | | |
./build.ps1 | |
- name: "dotnet build" | |
run: dotnet build -c Release | |
- name: "dotnet test" | |
shell: bash | |
run: dotnet test -c Release | |
- name: "dotnet pack" | |
run: dotnet pack -c Release -o ./bin/nuget | |
ubuntu-latest: | |
name: ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/[email protected] | |
with: | |
lfs: true | |
fetch-depth: 0 | |
- name: "Install .NET SDK" | |
uses: actions/[email protected] | |
with: | |
global-json-file: "./global.json" | |
- name: "Update release notes" | |
shell: pwsh | |
run: | | |
./build.ps1 | |
- name: "dotnet build" | |
run: dotnet build -c Release | |
# .NET Framework tests can't run reliably on Linux, so we only do .NET Core | |
- name: "dotnet test" | |
shell: bash | |
run: dotnet test -c Release -f net6.0 | |
- name: "dotnet pack" | |
run: dotnet pack -c Release -o ./bin/nuget |