Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-06-06 21:00:36 +0300
committerdartcafe <github@dartcafe.de>2021-06-06 21:00:36 +0300
commita89cd4fb0d50a0b5fcf82a903b98139e9bf10cbf (patch)
treeb2e92b6729bdfdaa38baeb7a914ff09450947086 /.github
parent43322fea773a5ee903ad1dbf7ddfd0e8991df21a (diff)
update workflows
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/app-code-check-7.yml55
-rw-r--r--.github/workflows/app-code-check.yml2
2 files changed, 1 insertions, 56 deletions
diff --git a/.github/workflows/app-code-check-7.yml b/.github/workflows/app-code-check-7.yml
deleted file mode 100644
index 6a2fd0e0..00000000
--- a/.github/workflows/app-code-check-7.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-name: PHP 7.4
-
-on:
- pull_request:
- push:
- branches:
- - master
- - stable*
-
-env:
- APP_NAME: polls
-
-jobs:
- unit-tests:
- runs-on: ubuntu-latest
-
- strategy:
- matrix:
- php-versions: ['7.4']
- server-versions: ['master', 'stable21']
-
- name: AppCode check php${{ matrix.php-versions }}-${{ matrix.server-versions }}
- steps:
- - name: Checkout server
- uses: actions/checkout@v2
- 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
-
- - name: Checkout app
- uses: actions/checkout@v2
- with:
- path: apps/${{ env.APP_NAME }}
-
- - name: Set up php ${{ matrix.php-versions }}
- uses: shivammathur/setup-php@v2
- with:
- php-version: ${{ matrix.php-versions }}
- tools: phpunit
- extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite
-
- - name: Checkout app
- uses: actions/checkout@v2
- with:
- path: apps/${{ env.APP_NAME }}
-
- - name: App code check
- run: php occ app:check-code ${{ env.APP_NAME }}
diff --git a/.github/workflows/app-code-check.yml b/.github/workflows/app-code-check.yml
index a63a6ba8..bd9556b0 100644
--- a/.github/workflows/app-code-check.yml
+++ b/.github/workflows/app-code-check.yml
@@ -1,4 +1,4 @@
-name: PHP 8
+name: PHP
on:
pull_request: