Skip to content

Commit

Permalink
BUG: Checkout full depths for clang-format-linter
Browse files Browse the repository at this point in the history
To address:

reference is not a tree: 670863f
lint
Git checkout failed with exit code: 128
lint
Exit code 1 returned from process: file name '/home/runner/runners/2.277.1/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Repository.v1_0.CheckoutTask, Runner.Plugins"'.
lint
Git checkout failed on shallow repository, this might because of git fetch with depth '1' doesn't include the checkout commit '670863f3c88fad4d181fe9f59f8b154983c48bd5'.
lint
Ubuntu-latest workflows will use Ubuntu-20.04 soon. For more details, see actions/runner-images/issues/1816

https://github.com/InsightSoftwareConsortium/ITK/actions/runs/646656228
  • Loading branch information
thewtex committed Mar 12, 2021
1 parent 289564b commit 3f0d124
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/clang-format-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:

steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master
with:
error-message: 'Code is inconsistent with ITK Coding Style. Add the *action:ApplyClangFormat* PR label to correct.'

0 comments on commit 3f0d124

Please sign in to comment.