File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 44
44
- uses : actions/checkout@v2
45
45
- run : shards install
46
46
- run : crystal spec
47
- - run : crystal tool format --check
47
+ - run : crystal tool format && git diff --exit-code
48
48
if : matrix.crystal == 'latest'
49
49
` ` `
50
50
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ jobs:
115
115
{%- endif %}
116
116
{%- if tool_format %}
117
117
- name : Check formatting
118
- run : crystal tool format --check
118
+ run : crystal tool format && git diff --exit-code
119
119
{%- set latest = "== 'latest'" if not unroll else "!= 'nightly'" if not crystal_ver else "== null" -%}
120
120
{%- if os_win and (crystal_nightly or crystal_ver) %}
121
121
if : matrix.crystal {{ latest }} && matrix.os == 'ubuntu-latest'
You can’t perform that action at this time.
0 commit comments