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-05-09 03:08:53 +0300
committerdartcafe <github@dartcafe.de>2021-05-09 03:08:53 +0300
commitbc5a7d25b5608d12186015eccec6f70881a4864f (patch)
tree0ec96cc8863edc51148dd67ce175949fc40b9c5d /.github
parent263cababf2b1519eb402c618b5ad2fee404fc1e8 (diff)
rename actions and add badges
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/app-code-check-7.yml110
-rw-r--r--.github/workflows/app-code-check-8.yml110
-rw-r--r--.github/workflows/static-analysis.yml2
3 files changed, 111 insertions, 111 deletions
diff --git a/.github/workflows/app-code-check-7.yml b/.github/workflows/app-code-check-7.yml
index b16971b9..047aadc8 100644
--- a/.github/workflows/app-code-check-7.yml
+++ b/.github/workflows/app-code-check-7.yml
@@ -1,55 +1,55 @@
-name: PHP AppCode Check
-
-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', 'stable19', 'stable20']
-
- 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 }}
+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', 'stable19', 'stable20']
+
+ 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-8.yml b/.github/workflows/app-code-check-8.yml
index 17c65d3b..86dc8885 100644
--- a/.github/workflows/app-code-check-8.yml
+++ b/.github/workflows/app-code-check-8.yml
@@ -1,55 +1,55 @@
-name: PHP AppCode Check
-
-on:
- pull_request:
- push:
- branches:
- - master
- - stable*
-
-env:
- APP_NAME: polls
-
-jobs:
- unit-tests:
- runs-on: ubuntu-latest
-
- strategy:
- matrix:
- php-versions: ['8.0']
- server-versions: ['master']
-
- 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 }}
+name: PHP 8
+
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+ - stable*
+
+env:
+ APP_NAME: polls
+
+jobs:
+ unit-tests:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ php-versions: ['8.0']
+ server-versions: ['master']
+
+ 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/static-analysis.yml b/.github/workflows/static-analysis.yml
index 4b3fdfad..ea6f78a7 100644
--- a/.github/workflows/static-analysis.yml
+++ b/.github/workflows/static-analysis.yml
@@ -1,4 +1,4 @@
-name: Static analysis
+name: psalm
on:
pull_request: