Skip to content

Commit 479709a

Browse files
Use raw git command
1 parent f2a674d commit 479709a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ jobs:
1313
runs-on: Ubuntu-18.04
1414
steps:
1515
- uses: actions/checkout@v2
16-
with:
17-
submodules: true
18-
persist-credentials: false
16+
- run: git submodule update --init
1917
- name: Setup swiftenv
2018
run: |
2119
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
@@ -36,9 +34,7 @@ jobs:
3634
runs-on: macOS-10.15
3735
steps:
3836
- uses: actions/checkout@v2
39-
with:
40-
submodules: true
41-
persist-credentials: false
37+
- run: git submodule update --init
4238
- run: sudo xcode-select -s "${{ matrix.xcode-version }}"
4339
- run: swift --version
4440
- run: swift test
@@ -47,9 +43,7 @@ jobs:
4743
runs-on: macOS-10.15
4844
steps:
4945
- uses: actions/checkout@v2
50-
with:
51-
submodules: true
52-
persist-credentials: false
46+
- run: git submodule update --init
5347
- run: swift test --enable-code-coverage
5448
- run: echo "SWIFT_CODECOV_PATH=$(swift test --show-codecov-path)" >> $GITHUB_ENV
5549
- uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)