forked from ngld/OverlayPlugin
-
-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (30 loc) · 647 Bytes
/
lint-check.yml
File metadata and controls
36 lines (30 loc) · 647 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
27
28
29
30
31
32
33
34
35
36
name: Check linting
on:
push:
branches:
- 'main'
paths:
- '**/*.cs'
- '.editorconfig'
pull_request:
types:
- opened
- reopened
- synchronize
paths:
- '**/*.cs'
- '.editorconfig'
workflow_dispatch:
jobs:
msbuild:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Set up msbuild
uses: microsoft/setup-msbuild@v2
- name: Add Custom Problem Matcher
run: |
echo "::add-matcher::.github/matchers/dotnet-format.json"
- name: Run Build
run: dotnet format --verify-no-changes
shell: cmd