Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync: synced file(s) with prom-client-net/prom-client-tmpl #122

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ branches:
required_pull_request_reviews: null
required_status_checks:
strict: false
contexts: ['Build & Test (Windows)', 'Build, Test & Pack (Linux)']
contexts: ['Build, Test & Pack (Linux)']
enforce_admins: false
required_linear_history: false
restrictions: null
21 changes: 0 additions & 21 deletions .github/workflows/ci-windows.yml

This file was deleted.

16 changes: 13 additions & 3 deletions .github/workflows/ci-linux.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI Linux
name: CI

on:
push:
Expand All @@ -12,6 +12,16 @@ on:
workflow_dispatch:

jobs:
build-windows:
name: Build & Test (Windows)
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run tests
run: dotnet test -c Release -p:CollectCoverage=false

build-linux:
name: Build, Test & Pack (Linux)
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -66,7 +76,7 @@ jobs:

github:
name: Deploy to GitHub
needs: [build-linux]
needs: [build-windows, build-linux]
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-24.04
steps:
Expand All @@ -79,7 +89,7 @@ jobs:

nuget:
name: Deploy to NuGet
needs: [build-linux]
needs: [build-windows, build-linux]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-24.04
steps:
Expand Down
Loading