forked from CombatExtended-Continued/CombatExtended
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (23 loc) · 739 Bytes
/
code-style.yml
File metadata and controls
26 lines (23 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Code Style Checks
on:
pull_request:
branches: [ master, Development, backports-1.4 ]
# Restrict the permissions of the ephemeral GitHub token used by this workflow
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v5
with:
# Note: Runners may have different, newer .NET SDKs preinstalled.
# Use global.json to control the maximum acceptable version.
dotnet-version: '9.x'
- name: Check C# code style
run: |
dotnet format --verify-no-changes Source/CombatExtendedLoader.sln
dotnet format --verify-no-changes Source/CombatExtended.sln