Skip to content

82 dependency injection with autofac 2 #496

82 dependency injection with autofac 2

82 dependency injection with autofac 2 #496

Workflow file for this run

name: .NET
on: [push, pull_request]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v2
with:
dotnet-version: |
6.0.x
- uses: actions/cache@v2
id: cacheStep
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore dependencies
run: dotnet restore
- name: Setup NuGet.exe for use with actions
uses: NuGet/setup-nuget@v1.0.5
- name: Restore NuGet
if: steps.cacheStep.outputs.cache-hit != 'true'
run: nuget restore Octane.sln
- name: Build
run: dotnet build --no-restore
- name: Run Tests
run: dotnet test