Skip to content
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', 'Build & Test (Windows)']
contexts: ['Build & Test (ubuntu-latest)', 'Build & Test (windows-latest)']
enforce_admins: false
required_linear_history: false
restrictions: null
29 changes: 0 additions & 29 deletions .github/workflows/build-win.yml

This file was deleted.

11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ on:
jobs:
build:
name: Build & Test
runs-on: ubuntu-24.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]

steps:
- name: Checkout
Expand All @@ -27,10 +30,16 @@ jobs:
- name: Build
run: dotnet build -c Release

- name: Run tests without Coverage
if: startsWith(matrix.os, 'windows')
run: dotnet test --no-build -c Release -p:CollectCoverage=false

- name: Run tests with Coverage
if: startsWith(matrix.os, 'ubuntu')
run: dotnet test --no-build -c Release -p:CollectCoverage=true -e:CoverletOutputFormat=opencover

- name: Publish to Codecov
if: startsWith(matrix.os, 'ubuntu')
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pack:
name: Create NuGet packages
needs: [build]
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
github:
name: Deploy to GitHub
needs: [pack]
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v6
Expand All @@ -64,7 +64,7 @@ jobs:
name: Create GitHub release
needs: [pack]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -82,7 +82,7 @@ jobs:
name: Deploy to NuGet
needs: [release]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeled.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-24.04
runs-on: ubuntu-latest
if: github.actor == 'phnx47-bot' && contains(github.event.pull_request.labels.*.name, 'sync')
steps:
- name: Checkout
Expand Down