Skip to content

fixed run command

fixed run command #11

Workflow file for this run

name: .NET Build and Test
on:
push:
branches: [ "main", "workflows" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Check out the code from the repository
- name: Checkout repository
uses: actions/checkout@v3
# Set up .NET with version 6.0.x
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
# Restore the dependencies of the .NET project
- name: Restore dependencies
run: dotnet restore ./backend
# Build the project
- name: Build
run: dotnet build ./backend --no-restore
# Run tests
- name: Test
run: dotnet test ./backend --no-build --verbosity normal