Skip to content

fix: Bump Microsoft.Extensions.Configuration.Json from 10.0.0 to 10.0.2 #1149

fix: Bump Microsoft.Extensions.Configuration.Json from 10.0.0 to 10.0.2

fix: Bump Microsoft.Extensions.Configuration.Json from 10.0.0 to 10.0.2 #1149

Workflow file for this run

name: .NET CI
on:
push:
branches:
- main
pull_request:
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
NUGET_XMLDOC_MODE: skip
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Setup .NET SDK # detected from global.json
uses: actions/setup-dotnet@v5.0.1
- name: Add Problem Matcher for dotnet-format
run: echo "::add-matcher::.github/dotnet-format.json"
- name: Lint
run: dotnet format --verify-no-changes --verbosity detailed
validate:
name: Validate NuGet Lock Files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Setup .NET SDK
uses: actions/setup-dotnet@v5.0.1
with:
dotnet-version: ${{ vars.DOTNET_SDK_VERSIONS }}
cache: true
cache-dependency-path: '**/packages.lock.json'
- name: Restore with lock files
run: dotnet restore --locked-mode
test:
name: Debug Build & Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- windows-latest
- windows-11-arm
- macos-latest
- macos-15-intel
steps:
- uses: actions/checkout@v6.0.2
- name: Setup .NET SDK
uses: actions/setup-dotnet@v5.0.1
with:
dotnet-version: ${{ vars.DOTNET_SDK_VERSIONS }}
cache: true
cache-dependency-path: '**/packages.lock.json'
- name: Build
run: dotnet build
- name: Test
run: dotnet test --no-build --coverage --coverage-output-format cobertura --coverage-output "${{ vars.COVERAGE_REPORT_FILE }}"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5.5.2
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ${{ runner.os }},${{ runner.arch }}
disable_search: true
files: |
${{ format(vars.TEST_ASSET_FOLDERS, 'net10.0', vars.COVERAGE_REPORT_FILE) }},
${{ format(vars.TEST_ASSET_FOLDERS, 'net9.0', vars.COVERAGE_REPORT_FILE) }},
${{ format(vars.TEST_ASSET_FOLDERS, 'net8.0', vars.COVERAGE_REPORT_FILE) }}