Skip to content

Commit e0eba88

Browse files
authored
chore(build): Remove misplaced fetch-depth option in ember CI build (#4275)
In #3610, a change was made to the ember tests in CI, to fix an unspecified problem with checking out the relevant commit for testing. Unfortunately, the change was added in the wrong spot. As a result, 1) the problem wasn't fixed, and 2) we started getting warnings in CI "Unexpected input `fetch-depth`" Number 1 was fixed in 9b5ab61#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721, by adding the option to the right spot (again, for an unspecified reason). This PR fixes problem 2, by removing the option from the wrong spot. Given the mystery surrounding the addition of `fetch-depth` in the first place, it also adds a TODO to reconsider if we need it once ember tests are again all passing.
1 parent 38ac85a commit e0eba88

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ jobs:
213213
steps:
214214
- name: Check out current commit (${{ github.sha }})
215215
uses: actions/checkout@v2
216+
# TODO: removing `fetch-depth` below seems to have no effect, and the commit which added it had no description,
217+
# so it's not clear why it's necessary. That said, right now ember tests are xfail, so it's a little hard to
218+
# tell if it's safe to remove. Once ember tests are fixed, let's try again with it turned off, and if all goes
219+
# well, we can pull it out.
216220
with:
217221
fetch-depth: 0
218222
- name: Set up Node
@@ -223,7 +227,6 @@ jobs:
223227
# that. If it passes, newer versions of Node should also be fine. This saves us from having to run the Ember
224228
# tests in our Node matrix above.
225229
node-version: '10'
226-
fetch-depth: 0
227230
- name: Check dependency cache
228231
uses: actions/cache@v2
229232
with:

0 commit comments

Comments
 (0)