Skip to content

chore: release .NET 8 template #74

chore: release .NET 8 template

chore: release .NET 8 template #74

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
id-token: write
contents: read
checks: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Install dotnet
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Lint
run: dotnet format --verify-no-changes --verbosity diagnostic
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: |
dotnet test --no-restore \
--verbosity normal \
--logger trx \
--results-directory ./test-results/ /p:CI=true \
tests/Application.UnitTests
- name: Test Reporter
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: NUnit Tests
path: "test-results/*.trx"
reporter: dotnet-trx