diff --git a/actions/setup/action.yml b/actions/setup/action.yml index b62c5547..ffe789bd 100644 --- a/actions/setup/action.yml +++ b/actions/setup/action.yml @@ -26,6 +26,10 @@ inputs: description: Number of commits to fetch. 0 indicates all history for all branches and tags. default: 0 + checkout-submodules: + description: "Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules." + default: '' + runs: using: composite @@ -35,6 +39,7 @@ runs: with: # Needed for conventional commit linting. fetch-depth: ${{ inputs.fetch-depth }} + submodules: ${{ inputs.checkout-submodules }} - name: Set up Go uses: actions/setup-go@v5