Skip to content

Bump Microsoft.AspNetCore.Identity.EntityFrameworkCore from 9.0.0 to 9.0.10 #97

Bump Microsoft.AspNetCore.Identity.EntityFrameworkCore from 9.0.0 to 9.0.10

Bump Microsoft.AspNetCore.Identity.EntityFrameworkCore from 9.0.0 to 9.0.10 #97

Workflow file for this run

name: CI Build
on:
workflow_dispatch:
push:
branches:
- 'main'
paths-ignore:
- 'docs/**'
- '.github/**'
pull_request:
branches:
- 'main'
permissions:
contents: read
issues: read
pull-requests: write
checks: write
env:
DOTNET_NOLOGO: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
jobs:
build:
name: Build and Test
runs-on: ubuntu-24.04
steps:
- name: 'Harden Runner'
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
- name: 'Checkout'
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: 'Setup .NET SDK'
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
with:
dotnet-version: 9.0.x
- name: 'Restore external dependencies'
run: dotnet restore
- name: 'Build'
id: build
run: dotnet build --configuration Debug --no-restore
- name: Upload Build Artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: build-artifacts
path: |
src/**/BCrypt.*.nupkg
src/**/BCrypt.*.dll
src/**/BCrypt.*.deps.json
src/**/BCrypt.*.xml
retention-days: 5
- name: 'Test'
id: test
run: dotnet test --restore --collect:"XPlat Code Coverage" --logger junit --configuration Debug
- name: 'Create test summary'
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
with:
paths: tests/UnitTests/**/TestResults.xml
show: "fail, skip"
if: always()
- name: 'Generate Coverage Reports'
uses: danielpalme/ReportGenerator-GitHub-Action@cc137d2b561c02b63ae869ffbe8f68af9d904bf4 # 5.4.6
with:
reports: "tests/**/coverage.cobertura.xml"
targetdir: "${{ github.workspace }}"
reporttypes: "Cobertura"
verbosity: "Info"
title: "Code Coverage"
tag: "${{ github.run_number }}_${{ github.run_id }}"
toolpath: "reportgeneratortool"
license: ${{ secrets.REPORT_GENERATOR_LICENSE }}
- name: Publish Code Coverage Report
uses: irongut/CodeCoverageSummary@51cc3a756ddcd398d447c044c02cb6aa83fdae95 # v1.3.0
with:
filename: "Cobertura.xml"
badge: true
fail_below_min: false # just informative for now
format: markdown
hide_branch_rate: false
hide_complexity: false
indicators: true
output: both
thresholds: "10 30"
- name: Upload Code Coverage Results
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: coverage-results
path: |
${{ github.workspace }}/Cobertura.xml
${{ github.workspace }}/code-coverage-results.md
retention-days: 5
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@afb2984f4d89672b2f9d9c13ae23d53779671984 # v2.19.0
if: always()
with:
files: "tests/**/TestResults.xml"
- name: Upload Test Artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: test-results
path: "tests/**/TestResults.xml"
retention-days: 5