Skip to content

Commit

Permalink
chore: synced file(s) with prom-client-net/prom-client-tmpl
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47-bot committed Jun 15, 2024
1 parent 0f3f43d commit 2ed0716
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
automerge:
name: Enable auto-merge
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.actor == 'phnx47-bot' && contains(github.event.pull_request.labels.*.name, 'sync')
steps:
- name: Checkout
Expand Down
17 changes: 14 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
2.1.x
3.1.x
5.0.x
6.0.x
7.0.x
8.0.x
- name: Run tests
run: dotnet test -c Release -p:CollectCoverage=false

build-linux:
name: Build, Test & Pack (Linux)
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -85,7 +96,7 @@ jobs:
name: Deploy to GitHub
needs: [build-windows, build-linux]
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand All @@ -98,7 +109,7 @@ jobs:
name: Deploy to NuGet
needs: [build-windows, build-linux]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 2ed0716

Please sign in to comment.