mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-07 15:46:02 +02:00
feat: Allow PR checks on dev branch and standardize dotnet version formatting
This commit is contained in:
@@ -2,7 +2,7 @@ name: PR Check
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master, dev]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-markdown:
|
lint-markdown:
|
||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Setup .NET 10
|
- name: Setup .NET 10
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '10.0.x'
|
dotnet-version: "10.0.x"
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: dotnet format src/EchoHub.slnx --verify-no-changes --verbosity diagnostic
|
run: dotnet format src/EchoHub.slnx --verify-no-changes --verbosity diagnostic
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
if: steps.changes.outputs.src_changed == 'true'
|
if: steps.changes.outputs.src_changed == 'true'
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '10.0.x'
|
dotnet-version: "10.0.x"
|
||||||
|
|
||||||
- name: Cache NuGet packages
|
- name: Cache NuGet packages
|
||||||
if: steps.changes.outputs.src_changed == 'true'
|
if: steps.changes.outputs.src_changed == 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user