Skip to content

Bump Microsoft.Extensions.DependencyInjection from 8.0.1 to 9.0.0 in /Source #126

Bump Microsoft.Extensions.DependencyInjection from 8.0.1 to 9.0.0 in /Source

Bump Microsoft.Extensions.DependencyInjection from 8.0.1 to 9.0.0 in /Source #126

Workflow file for this run

name: .NET Build & Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
MAIN_PROJECT: Source/YoloSharp/YoloSharp.csproj
DEMO_PROJECT: Source/YoloSharp.Demo/YoloSharp.Demo.csproj
TEST_PROJECT: Source/YoloSharp.Tests/YoloSharp.Tests.csproj
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Build YoloSharp
run: dotnet build ${{ env.MAIN_PROJECT }}
- name: Build YoloSharp.Demo
run: dotnet build ${{ env.DEMO_PROJECT }}
- name: Run Tests
run: dotnet test ${{ env.TEST_PROJECT }}