Update JamesIves/github-pages-deploy-action digest to 6c2d9db #194
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@3951f0dfe7a07e2313ec93c75700083e2005cbab # 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/ |