Skip to content

docs: target dotnet 8 in sample application #1320

docs: target dotnet 8 in sample application

docs: target dotnet 8 in sample application #1320

name: build-and-test
on:
push:
branches: [ main ]
pull_request:
branches: [ main, target-entity-framework-8 ]
workflow_dispatch:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Unit Tests
working-directory: ./Google.Cloud.EntityFrameworkCore.Spanner.Tests
run: dotnet test --no-build --verbosity normal