Bump Microsoft.Data.SqlClient from 5.0.1 to 5.1.3 in /source/EXBP.Dipren.Data.SqlServer.Tests #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
- feature/* | |
pull_request: | |
branches: | |
- main | |
env: | |
SOURCE_DIRECTORY: './source' | |
RESULT_DIRECTORY: './output/result' | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
services: | |
sqlserver: | |
image: mcr.microsoft.com/mssql/server:2022-latest | |
env: | |
ACCEPT_EULA: YES | |
MSSQL_SA_PASSWORD: 4Laqzjn!LNYa@W63 | |
MSSQL_PID: Developer | |
ports: | |
- "1433:1433" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET 6.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore ${{env.SOURCE_DIRECTORY}} | |
- name: Build solution | |
run: dotnet build --configuration Debug --no-restore ${{env.SOURCE_DIRECTORY}} | |
- name: Verify solution | |
run: dotnet test --no-restore --verbosity normal --logger trx --results-directory ${{env.RESULT_DIRECTORY}} ${{env.SOURCE_DIRECTORY}} |