[Bot -> All](deps): Bump Pastel in /Source/SammBot.Bot #47
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: .NET 7.0.x | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- '**.cs' | |
- '**.csproj' | |
pull_request: | |
branches: [ "master" ] | |
paths: | |
- '**.cs' | |
- '**.csproj' | |
workflow_dispatch: | |
jobs: | |
run-unit-tests: | |
strategy: | |
matrix: | |
configuration: [ Debug, Release ] | |
dotnet-version: [ '7.0.x' ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
- name: Setup .NET ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Check Dependency Cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget | |
- name: Install Dependencies | |
run: dotnet restore | |
- name: Build Tests | |
run: dotnet build --configuration ${{ matrix.configuration }} --no-restore | |
- name: Run Tests | |
run: dotnet test --no-restore --verbosity normal |