Kyoo/.github/workflows/coding-style.yml
2022-10-02 14:07:04 +09:00

16 lines
429 B
YAML

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: 6.0.x
- name: Build the app
run: cd back && dotnet build -p:CheckCodingStyle=true -p:TreatWarningsAsErrors=true '-p:SkipTranscoder=true'