summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-07-16 10:15:24 +0200
committerGitHub <noreply@github.com>2021-07-16 10:15:24 +0200
commitc7129f9d851d583de382fee6a1e4f553c5fbd867 (patch)
tree45220e8e08b828a8a08e8c67c6c20806996a14ef
parent7720468acb30777b64e33948f81f69aa8b9d39a2 (diff)
Update phpunit.yml
-rw-r--r--.github/workflows/phpunit.yml26
1 files changed, 4 insertions, 22 deletions
diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml
index e80b3610..992d0405 100644
--- a/.github/workflows/phpunit.yml
+++ b/.github/workflows/phpunit.yml
@@ -30,13 +30,7 @@ jobs:
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
-
- - name: Checkout submodules
- shell: bash
- run: |
- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
- git submodule sync --recursive
- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
+ submodules: true
- name: Checkout app
uses: actions/checkout@v2
@@ -92,7 +86,7 @@ jobs:
services:
mysql:
- image: mariadb
+ image: mariadb:10.5
ports:
- 4444:3306/tcp
env:
@@ -105,13 +99,7 @@ jobs:
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
-
- - name: Checkout submodules
- shell: bash
- run: |
- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
- git submodule sync --recursive
- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
+ submodules: true
- name: Checkout app
uses: actions/checkout@v2
@@ -177,13 +165,7 @@ jobs:
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
-
- - name: Checkout submodules
- shell: bash
- run: |
- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
- git submodule sync --recursive
- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
+ submodules: true
- name: Checkout app
uses: actions/checkout@v2