Skip to content

Commit 75bfe97

Browse files
committed
chore: synced file(s) with prom-client-net/prom-client-tmpl
1 parent fbcea1a commit 75bfe97

File tree

3 files changed

+29
-8
lines changed

3 files changed

+29
-8
lines changed

.github/settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ branches:
6868
required_pull_request_reviews: null
6969
required_status_checks:
7070
strict: false
71-
contexts: ['Build & Test']
71+
contexts: ['Build & Test (Windows)', 'Build, Test & Pack (Linux)']
7272
enforce_admins: false
7373
required_linear_history: false
7474
restrictions: null

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
automerge:
1515
name: Enable auto-merge
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717
if: github.actor == 'phnx47-bot' && contains(github.event.pull_request.labels.*.name, 'sync')
1818
steps:
1919
- name: Checkout

.github/workflows/ci.yml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,29 @@ on:
1212
workflow_dispatch:
1313

1414
jobs:
15-
build:
16-
name: Build & Test
15+
build-windows:
16+
name: Build & Test (Windows)
17+
runs-on: windows-2022
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup .NET
23+
uses: actions/setup-dotnet@v4
24+
with:
25+
dotnet-version: |
26+
2.1.x
27+
3.1.x
28+
5.0.x
29+
6.0.x
30+
7.0.x
31+
8.0.x
32+
33+
- name: Run tests
34+
run: dotnet test -c Release -p:CollectCoverage=false
35+
36+
build-linux:
37+
name: Build, Test & Pack (Linux)
1738
runs-on: ubuntu-22.04
1839
steps:
1940
- name: Checkout
@@ -73,9 +94,9 @@ jobs:
7394

7495
github:
7596
name: Deploy to GitHub
76-
needs: [build]
97+
needs: [build-windows, build-linux]
7798
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
78-
runs-on: ubuntu-22.04
99+
runs-on: ubuntu-24.04
79100
steps:
80101
- name: Download artifacts
81102
uses: actions/download-artifact@v4
@@ -86,9 +107,9 @@ jobs:
86107

87108
nuget:
88109
name: Deploy to NuGet
89-
needs: [build]
110+
needs: [build-windows, build-linux]
90111
if: startsWith(github.ref, 'refs/tags/v')
91-
runs-on: ubuntu-22.04
112+
runs-on: ubuntu-24.04
92113
steps:
93114
- name: Download artifacts
94115
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)