Files
US-Entry-Coach/.gitea/workflows/backend-build.yml

28 lines
662 B
YAML

name: Build Backend
run-name: ${{ gitea.actor }} is testing out building the Backend
on:
workflow_dispatch:
jobs:
backend:
name: Build & Test .NET Backend
runs-on: ubuntu-latest
steps:
- name: Clone the repository
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build the project
run: dotnet build USEntryCoach.sln --no-restore --configuration Release
- name: Run tests
run: dotnet test USEntryCoach.sln --no-build --verbosity normal