Skip to content

Commit

Permalink
ci bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Apr 20, 2023
1 parent eb04c95 commit e064e26
Show file tree
Hide file tree
Showing 7 changed files with 931 additions and 397 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/appstore-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
build_and_publish:
runs-on: ubuntu-latest

# Only allowed to be run on nextcloud-releases repositories
if: ${{ github.repository_owner == 'nextcloud-releases' }}
if: ${{ github.repository_owner == 'icewind1991' }}

steps:
- name: Check actor permission
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: Php Lint
on: [push, pull_request]

on:
pull_request:
push:
branches:
- main
- master
- stable*

jobs:
php-linters:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0']
php-versions: ['8.0', '8.1', '8.2']
name: php${{ matrix.php-versions }} lint
steps:
- name: Checkout
Expand All @@ -30,7 +37,7 @@ jobs:
- name: Set up php${{ matrix.php-versions }}
uses: shivammathur/setup-php@master
with:
php-version: 7.4
php-version: 8.0
tools: composer:v1
coverage: none
- name: Install dependencies
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Node CI

on: [push]
on:
pull_request:
push:
branches:
- main
- master
- stable*

jobs:
build:
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Php Static analysis
on: [push, pull_request]

on:
pull_request:
push:
branches:
- main
- master
- stable*

jobs:
static-psalm-analysis:
Expand All @@ -14,13 +21,13 @@ jobs:
- name: Set up php
uses: shivammathur/setup-php@master
with:
php-version: 7.4
php-version: 8.0
tools: composer:v1
coverage: none
extensions: redis
- name: Install dependencies
run: composer i
- name: Install dependencies
run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }}
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }}
- name: Run coding standards check
run: composer run psalm
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require-dev": {
"roave/security-advisories": "dev-master",
"christophwurst/nextcloud": "dev-master",
"nextcloud/ocp": "dev-master",
"php-parallel-lint/php-parallel-lint": "^1.0.0",
"nextcloud/coding-standard": "^0.4.0",
"psalm/phar": "^4.3"
Expand Down
Loading

0 comments on commit e064e26

Please sign in to comment.