This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
Merge pull request #119 from g12-4soat/hotfix/erro-worker #253
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: .NET Build and Test | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.x | |
- name: Restore NuGet packages | |
run: dotnet restore test/**/*.csproj | |
- name: Build | |
run: dotnet build test/**/*.csproj | |
- name: Test | |
run: dotnet test test/**/*.csproj |