Skip to content

.NET Build and Test #1369

.NET Build and Test

.NET Build and Test #1369

Workflow file for this run

name: .NET Build and Test
on:
push:
branches:
- main # ajuste o nome da branch conforme necessário
schedule:
- cron: '0 * * * *' # executa a cada hora
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0' # ajuste para a versão do .NET que você precisa
- name: Restore dependencies
run: dotnet restore **/*.csproj
- name: Build
run: dotnet build **/*.csproj --no-restore