Skip to content

ci(nuget): partially revert "ci: add NuGet packages.lock.json and cac… #736

ci(nuget): partially revert "ci: add NuGet packages.lock.json and cac…

ci(nuget): partially revert "ci: add NuGet packages.lock.json and cac… #736

Workflow file for this run

name: .NET Core
on: [push, pull_request]
jobs:
dotnet:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
7.0.x
6.0.x
5.0.x
3.1.x
- name: dotnet info
run: dotnet --info
# https://github.com/actions/runner-images/blob/ubuntu22/20230821.1/images/linux/Ubuntu2204-Readme.md
# There is an issue with latest SDK on Linux with .NET Framework:
# https://github.com/microsoft/vstest/issues/4549
# Unfortunatey, it becomes preinstalled with latest GitHub runner images, so have to remove it for now.
- name: Remove latest .NET SDK (7.0.400)
if: matrix.os != 'windows-latest'
run: sudo rm -rf ${DOTNET_ROOT}/sdk/7.0.400
- run: dotnet test -c Release