Skip to content

chore: bump peaceiris/actions-gh-pages from 3 to 4 in the dependencies group #38

chore: bump peaceiris/actions-gh-pages from 3 to 4 in the dependencies group

chore: bump peaceiris/actions-gh-pages from 3 to 4 in the dependencies group #38

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET Test Pull Requests
on:
pull_request:
branches: [ "master" ]
jobs:
build:
env:
BUILD_CONFIG: 'Debug'
SOLUTION: 'FastActivator.sln'
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '6.0.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup .NET SDK ${{ matrix.dotnet-version }}
uses: actions/[email protected]
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration $BUILD_CONFIG
- name: Test
run: dotnet test /p:Configuration=$BUILD_CONFIG --no-build --verbosity normal --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: dotnet-results-${{ matrix.dotnet-version }}
path: TestResults-${{ matrix.dotnet-version }}
if: ${{ always() }}