Skip to content

Commit

Permalink
add source code formatting to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Nov 23, 2021
1 parent 0943c58 commit 9e97067
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/check-formatting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Check formatting

on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]

jobs:
verify-docs:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.302'

- name: Check source document formatting
run: |
dotnet tool restore
dotnet fake build -t CheckFormat
5 changes: 3 additions & 2 deletions Plotly.NET.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31702.278
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "project", "project", "{BF60BC93-E09B-4E5F-9D85-95A519479D54}"
ProjectSection(SolutionItems) = preProject
Expand Down Expand Up @@ -33,6 +33,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".ci", ".ci", "{2461AFBF-6E1
ProjectSection(SolutionItems) = preProject
.github\workflows\build-and-deploy-docs.yml = .github\workflows\build-and-deploy-docs.yml
.github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml
.github\workflows\check-formatting.yml = .github\workflows\check-formatting.yml
.github\workflows\verify-docs.yml = .github\workflows\verify-docs.yml
EndProjectSection
EndProject
Expand Down

0 comments on commit 9e97067

Please sign in to comment.