Skip to content

Update autofac version #34

Update autofac version

Update autofac version #34

Workflow file for this run

name: Build
env:
DOTNET_NOLOGO: 1
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
autofac: ['lowestSupported', '6.0.0']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
- name: Restore dependencies
run: dotnet restore -property:AutofacVersion=${{matrix.autofac}}
- name: Build
run: dotnet build --no-restore /p:TreatWarningsAsErrors=true
- name: Run Tests
run: dotnet test --no-build