mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
CI: Adding coding style workflow
This commit is contained in:
parent
0c6d527f3c
commit
e7b93393f4
15
.github/workflows/coding-style.yml
vendored
Normal file
15
.github/workflows/coding-style.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: CodingStyle
|
||||
on: [pull_request, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "Coding style check"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 5.0.x
|
||||
- name: Build the app
|
||||
run: dotnet build -p:CheckCodingStyle=true -p:TreatWarningsAsErrors=true
|
Loading…
x
Reference in New Issue
Block a user