Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to nextcloud/OCP package in stable25 #109

Merged
merged 1 commit into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,17 @@ on:
push:
branches:
- master
- main
- stable*

jobs:
static-psalm-analysis:
static-analysis:
runs-on: ubuntu-latest

strategy:
matrix:
ocp-version: [ 'dev-stable25' ]

name: Nextcloud ${{ matrix.ocp-version }}
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v3

- name: Set up php
uses: shivammathur/setup-php@v2
Expand All @@ -27,7 +24,7 @@ jobs:
coverage: none

- name: Install dependencies
run: composer install --dev
run: composer i

- name: Run coding standards check
run: composer run psalm
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Update christophwurst/nextcloud
name: Update nextcloud/ocp

on:
workflow_dispatch:
schedule:
- cron: "5 4 * * 0"

jobs:
update-christophwurst-nextcloud:
update-nextcloud-ocp:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
branches: ["master", "stable25", "stable24", "stable23"]

name: update-christophwurst-nextcloud-${{ matrix.branches }}
name: update-nextcloud-ocp-${{ matrix.branches }}

steps:
- uses: actions/checkout@v3
Expand All @@ -37,8 +37,8 @@ jobs:
- name: Composer install
run: composer install

- name: Composer update christophwurst/nextcloud
run: composer require --dev christophwurst/nextcloud:dev-${{ matrix.branches }}
- name: Composer update nextcloud/ocp
run: composer require --dev nextcloud/ocp:dev-${{ matrix.branches }}
continue-on-error: true

- name: Reset checkout dirs
Expand All @@ -56,10 +56,10 @@ jobs:
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-update-christophwurst-nextcloud
title: "[${{ matrix.branches }}] Update christophwurst/nextcloud dependency"
branch: automated/noid/${{ matrix.branches }}-update-nextcloud-ocp
title: "[${{ matrix.branches }}] Update nextcloud/ocp dependency"
body: |
Auto-generated update of [christophwurst/nextcloud](https://github.com/ChristophWurst/nextcloud_composer/) dependency
Auto-generated update of [nextcloud/ocp](https://github.com/nextcloud-deps/ocp/) dependency
labels: |
dependencies
3. to review
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/christophwurst/nextcloud/OCP",
"OCP\\": "vendor/nextcloud/ocp/OCP",
"OCA\\NextcloudAnnouncements\\": "lib/"
}
},
Expand All @@ -26,8 +26,8 @@
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
},
"require-dev": {
"christophwurst/nextcloud": "dev-stable25",
"nextcloud/coding-standard": "^1.0.0",
"nextcloud/ocp": "dev-stable25",
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "^4.27.0"
}
Expand Down
90 changes: 44 additions & 46 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.