Skip to content

Commit 5522a8d

Browse files
committed
feat: add submodules support to rust workflow
1 parent 5351c9a commit 5522a8d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/rust.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Rust
22

33
on:
44
workflow_call:
5+
inputs:
6+
submodules:
7+
description: 'Enable git submodules checkout'
8+
required: false
9+
type: boolean
10+
default: false
511

612
env:
713
CARGO_TERM_COLOR: always
@@ -12,6 +18,8 @@ jobs:
1218

1319
steps:
1420
- uses: actions/checkout@v6
21+
with:
22+
submodules: ${{ inputs.submodules }}
1523
- name: Build
1624
run: cargo build --verbose
1725
- name: Run tests

0 commit comments

Comments
 (0)