Skip to content

Commit 43a59ba

Browse files
committed
BUG: Do not use shallow checkout for linting
To address: reference is not a tree: 80fc7fe 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 '80fc7fe2e2de3d7c0a29bb3f0de7941f708ff5da'. lint Ubuntu-latest workflows will use Ubuntu-20.04 soon. For more details, see actions/runner-images/issues/1816
1 parent 5b309e4 commit 43a59ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v1
11-
with:
12-
fetch-depth: 1
1311

1412
- name: Lint C++
1513
uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master

0 commit comments

Comments
 (0)