Skip to content

chore(deps): update dependency microsoft.net.test.sdk to v17.7.2 #244

chore(deps): update dependency microsoft.net.test.sdk to v17.7.2

chore(deps): update dependency microsoft.net.test.sdk to v17.7.2 #244

name: 'Continuous Integration'
on:
workflow_dispatch:
push:
branches: ['v2']
paths:
- '**.cs'
- '**.csproj'
- '**.sln'
tags-ignore:
- 'v*'
pull_request:
branches: ['v2']
paths:
- '**.cs'
- '**.csproj'
- '**.sln'
jobs:
build:
name: 'Build and Test'
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['7.x']
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Install Dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal