We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad28192 commit b58a49cCopy full SHA for b58a49c
.github/workflows/build.yml
@@ -15,6 +15,18 @@ jobs:
15
with:
16
fetch-depth: 2
17
path: 'source'
18
+ - name: Check Formatting
19
+ run: |
20
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
21
+ source $HOME/.cargo/env
22
+ cargo install reformahtml
23
+ mkdir tmp
24
+ reformahtml source/source tmp/reformatted-source
25
+ diff source/source tmp/reformatted-source > tmp/diff_output.txt || true
26
+ if [ -s tmp/diff_output.txt ]; then
27
+ cat tmp/diff_output.txt
28
+ exit 1
29
+ fi
30
- name: Build
31
run: |
32
mkdir output
0 commit comments