Skip to content

Commit

Permalink
feat: update Microsoft.Extensions.Diagnostics.HealthChecks to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Mar 11, 2021
1 parent cd2bc7b commit 7019b4c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI Branch

on:
push:
Expand All @@ -19,6 +19,8 @@ jobs:
uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Restore
run: dotnet restore
- name: Build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI Master

on:
push:
Expand All @@ -15,6 +15,8 @@ jobs:
uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Restore
run: dotnet restore
- name: Build
Expand All @@ -27,6 +29,4 @@ jobs:
name: nupkg
path: artifacts/*
- name: Publish to GitHub
run: |
dotnet tool install -g gpr --no-cache -v q
gpr push "artifacts/*.nupkg" -k ${{ secrets.GH_DEPLOY_KEY }} || true
run: dotnet nuget push "artifacts/*.nupkg" -s https://nuget.pkg.github.com/PrometheusClientNet/index.json -k ${{ secrets.GH_DEPLOY_KEY }} --skip-duplicate
4 changes: 3 additions & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI Production

on:
push:
Expand All @@ -13,6 +13,8 @@ jobs:
uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Restore
run: dotnet restore
- name: Build
Expand Down
8 changes: 4 additions & 4 deletions src/Prometheus.Client.HealthChecks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<Description>HealthChecks middleware for the Prometheus.Client</Description>
<Copyright>2020 © Serge K, Oleksandr Poliakov</Copyright>
<AssemblyTitle>Prometheus.Client.HealthChecks</AssemblyTitle>
<VersionPrefix>0.3.0</VersionPrefix>
<VersionPrefix>0.4.0</VersionPrefix>
<Authors>Serge K, Oleksandr Poliakov</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0</TargetFrameworks>
<AssemblyName>Prometheus.Client.HealthChecks</AssemblyName>
<PackageId>Prometheus.Client.HealthChecks</PackageId>
<PackageTags>prometheus;metrics</PackageTags>
Expand All @@ -31,8 +31,8 @@
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="5.0.3" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="5.0.4" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Prometheus.Client" Version="4.3.0" />
<PackageReference Include="Prometheus.Client" Version="[4.4.0,5.0.0)" />
</ItemGroup>
</Project>
1 change: 0 additions & 1 deletion src/PrometheusHealthCheckPublisher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Prometheus.Client;

namespace Prometheus.Client.HealthChecks
{
Expand Down

0 comments on commit 7019b4c

Please sign in to comment.