Fix an issue where false upgradable packages would show as upgradable… #804
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 Tests | |
on: | |
push: | |
branches: [ "main" ] | |
paths: | |
- '**.cs' | |
- '**.csproj' | |
- '**.sln' | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- '**.cs' | |
- '**.csproj' | |
- '**.sln' | |
workflow_dispatch: | |
jobs: | |
test-codebase: | |
runs-on: windows-latest # For a list of available runner types, refer to | |
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Install the .NET Core workload | |
- name: Install .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
# - name: Install WinGet | |
# uses: Cyberboss/install-winget@v1 | |
- name: Run Tests | |
run: | | |
cd src | |
dotnet test -v q --nologo | |
cd .. |