Skip to content

build(deps): bump AWSSDK.SimpleEmail from 3.7.402.16 to 3.7.402.17 #5764

build(deps): bump AWSSDK.SimpleEmail from 3.7.402.16 to 3.7.402.17

build(deps): bump AWSSDK.SimpleEmail from 3.7.402.16 to 3.7.402.17 #5764

name: Build .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
ConnectionStrings__BoilerplateConnectionString: "Host=localhost;Database=testdb;Username=postgres;Password=postgres"
jobs:
build:
# Service containers to run with `container-job`
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres:17-alpine
ports:
- 5432:5432
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: testdb
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
azurite:
image: mcr.microsoft.com/azure-storage/azurite
ports:
- 10000:10000
- 10001:10001
- 10002:10002
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
dotnet-quality: 'preview'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Migrate DB
run: |
dotnet tool install --global dotnet-ef
dotnet tool restore
dotnet ef database update --startup-project BervProject.WebApi.Boilerplate --project BervProject.WebApi.Boilerplate
- name: Test
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal --collect:"XPlat Code Coverage"
- name: Report Codecov
uses: codecov/codecov-action@v5