Fix analysis warnings in tests #315
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
# ------------------------------------------------------------------------------ | |
# <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 --host GitHubActions | |
# | |
# </auto-generated> | |
# ------------------------------------------------------------------------------ | |
name: pr | |
on: | |
pull_request: | |
branches: | |
- master | |
- main | |
paths: | |
- '**/*.*' | |
- '!**/*.md' | |
concurrency: | |
group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
windows-latest: | |
name: windows-latest | |
runs-on: windows-latest | |
steps: | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
9.0 | |
- uses: actions/checkout@v4 | |
- name: 'Cache: .nuke/temp, ~/.nuget/packages' | |
uses: actions/cache@v4 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('global.json', 'src/**/*.csproj', 'src/**/package.json') }} | |
- name: 'Run: Compile, Test, Pack' | |
run: ./build.cmd Compile Test Pack | |
ubuntu-latest: | |
name: ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
9.0 | |
- uses: actions/checkout@v4 | |
- name: 'Cache: .nuke/temp, ~/.nuget/packages' | |
uses: actions/cache@v4 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('global.json', 'src/**/*.csproj', 'src/**/package.json') }} | |
- name: 'Run: Compile, Test, Pack' | |
run: ./build.cmd Compile Test Pack |