Skip to content

Update main.yml

Update main.yml #6

Workflow file for this run

name: fitness-api
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: 8.0.x
- name: Build
run: dotnet build API/API.csproj --no-restore
- name: Test
run: dotnet test