Skip to content

Commit f2a674d

Browse files
persist-credentials: false to avoid recursive checkout
1 parent 2250817 commit f2a674d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
with:
1717
submodules: true
18+
persist-credentials: false
1819
- name: Setup swiftenv
1920
run: |
2021
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
@@ -37,6 +38,7 @@ jobs:
3738
- uses: actions/checkout@v2
3839
with:
3940
submodules: true
41+
persist-credentials: false
4042
- run: sudo xcode-select -s "${{ matrix.xcode-version }}"
4143
- run: swift --version
4244
- run: swift test
@@ -47,6 +49,7 @@ jobs:
4749
- uses: actions/checkout@v2
4850
with:
4951
submodules: true
52+
persist-credentials: false
5053
- run: swift test --enable-code-coverage
5154
- run: echo "SWIFT_CODECOV_PATH=$(swift test --show-codecov-path)" >> $GITHUB_ENV
5255
- uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)