This repository has been archived by the owner on Jul 13, 2024. It is now read-only.
rename branch #1
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: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install dependencies | |
run: dotnet restore | |
working-directory: ./../../TDD | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
working-directory: ./../../TDD | |
- name: Test | |
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage" | |
working-directory: ./../../TDD |