Skip to content

Bump Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization from 8.7.0 to 8.9.1 in /docs/core/diagnostics/snippets/health-checks in the dotnet group across 1 directory #1040

Bump Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization from 8.7.0 to 8.9.1 in /docs/core/diagnostics/snippets/health-checks in the dotnet group across 1 directory

Bump Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization from 8.7.0 to 8.9.1 in /docs/core/diagnostics/snippets/health-checks in the dotnet group across 1 directory #1040

Workflow file for this run

name: 'Snippets 5000'
# Controls when the action will run. Triggers the workflow on push or pull request
# events on the main branch only.
on:
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
reason:
description: 'The reason for running the workflow'
required: true
default: 'Manual run'
env:
DOTNET_VERSION: '9.0.*'
DOTNET_QUALITY: 'preview'
DOTNET_DO_INSTALL: 'true' # To install a version of .NET not provided by the runner, set to true
EnableNuGetPackageRestore: 'True'
jobs:
snippets-build:
runs-on: windows-2022
permissions:
statuses: write
steps:
# Checkout the repository for the PR
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #@v4.1.7
# Get the latest preview SDK (or sdk not installed by the runner)
- name: Setup .NET
if: ${{ env.DOTNET_DO_INSTALL == 'true' }}
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee #@4.0.1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
dotnet-quality: ${{ env.DOTNET_QUALITY }}
# Print dotnet info
- name: Display .NET info
run: |
dotnet --info
# Clone docs tools repo
- name: Clone docs-tools repository
run: |
git clone --depth 1 https://github.com/dotnet/docs-tools
# Run snippets 5000
- name: Run snippets 5000 for PR
env:
GitHubKey: ${{ secrets.GITHUB_TOKEN }}
run: |
dotnet run --project docs-tools/snippets5000/Snippets5000/Snippets5000.csproj -- --sourcepath "${{ github.workspace }}" --pullrequest ${{ github.event.number }} --owner ${{ github.repository_owner }} --repo ${{ github.event.repository.name }}