Update dependency xunit.runner.visualstudio to v3 #169
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: Build & Test PR | |
on: | |
pull_request: | |
branches: [ main ] | |
env: | |
PROJECT_NAME: PinguApps.Blazor.QRCode | |
DOTNET_VERSION: '9.0' | |
jobs: | |
build: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Setup DotNet | |
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Restore Packages | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c Release --no-restore src/$PROJECT_NAME/$PROJECT_NAME.csproj | |
- name: Test | |
run: dotnet test -c Release --no-restore --verbosity normal tests/$PROJECT_NAME.Tests/ |