Skip to content

Commit 05eb26c

Browse files
Use submodule option of actions/checkout
1 parent d9b999b commit 05eb26c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
runs-on: Ubuntu-18.04
1414
steps:
1515
- uses: actions/checkout@v2
16-
- run: git submodule update --init
16+
with:
17+
submodule: true
1718
- name: Setup swiftenv
1819
run: |
1920
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
@@ -34,7 +35,8 @@ jobs:
3435
runs-on: macOS-10.15
3536
steps:
3637
- uses: actions/checkout@v2
37-
- run: git submodule update --init
38+
with:
39+
submodule: true
3840
- run: sudo xcode-select -s "${{ matrix.xcode-version }}"
3941
- run: swift --version
4042
- run: swift test
@@ -43,7 +45,8 @@ jobs:
4345
runs-on: macOS-10.15
4446
steps:
4547
- uses: actions/checkout@v2
46-
- run: git submodule update --init
48+
with:
49+
submodule: true
4750
- run: swift test --enable-code-coverage
4851
- run: echo "SWIFT_CODECOV_PATH=$(swift test --show-codecov-path)" >> $GITHUB_ENV
4952
- uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)