[Tests -> All](deps): Bump Microsoft.EntityFrameworkCore from 8.0.8 to 8.0.10 in /Source/SammBot.Tests in the ef-core group across 1 directory #283
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
name: Run Unit Tests | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- '**.cs' | |
- '**.csproj' | |
pull_request: | |
branches: [ "master" ] | |
paths: | |
- '**.cs' | |
- '**.csproj' | |
workflow_dispatch: | |
jobs: | |
run-unit-tests: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest ] | |
dotnet-version: [ '8.0.x' ] | |
permissions: | |
packages: write | |
contents: read | |
env: | |
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
- name: Setup .NET ${{ matrix.dotnet-version }} | |
uses: actions/[email protected] | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Check Dependency Cache | |
uses: actions/[email protected] | |
with: | |
path: ${{ github.workspace }}/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Install Dependencies | |
run: dotnet restore | |
- name: Build Tests | |
run: dotnet build --configuration Release --no-restore | |
- name: Run Tests | |
run: dotnet test --no-restore --verbosity normal |