more logical cleanup #8
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 | |
on: | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: Tests | |
run: dotnet test -c Release --logger "trx;LogFileName=test-results.trx" | |
# upload test results | |
- name: Upload dotnet test results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results | |
path: "**/*.trx" | |
# Use always() to always run this step to publish test results when there are test failures | |
if: ${{ always() }} |