Skip to content

Commit c3d17bc

Browse files
committed
Pull submodules even when formatting.
Makes it consistent with the main build.
1 parent afe34d6 commit c3d17bc

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/format.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ name: Format
33
on: [push, pull_request]
44

55
jobs:
6-
check:
7-
6+
run_cargo_fmt:
7+
name: Run cargo fmt
88
runs-on: ubuntu-latest
9-
109
steps:
11-
- uses: actions/checkout@v1
12-
- name: Add Tool
13-
run: rustup component add rustfmt
14-
- name: Check Format
15-
run: cargo fmt -- --check
10+
- name: Checkout
11+
uses: actions/checkout@v3
12+
with:
13+
submodules: true
14+
- name: Add Tool
15+
run: rustup component add rustfmt
16+
- name: Check Format
17+
run: cargo fmt -- --check

0 commit comments

Comments
 (0)