Skip to content
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
17 changes: 5 additions & 12 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,11 @@ config = {
"branches": [
"master",
],
"codestyle": True,
"phan": {
"multipleVersions": {
"phpVersions": [
DEFAULT_PHP_VERSION,
"7.3",
],
},
},
"phpstan": True,
"javascript": True,
"phpunit": True,
"codestyle": False,
"phan": False,
"phpstan": False,
"javascript": False,
"phpunit": False,
"phpintegration": True,
"acceptance": False,
}
Expand Down
65 changes: 65 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: CI

on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened

permissions:
contents: read

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

env:
APP_NAME: notes
PHP_VERSIONS: '["7.4"]'

jobs:
get-vars:
runs-on: ubuntu-latest
outputs:
app-name: ${{ env.APP_NAME }}
php-versions: ${{ env.PHP_VERSIONS }}
steps:
- name: Set variables
run: |
echo "App name $APP_NAME"
echo "PHP versions string: $PHP_VERSIONS"

semantic-git-messages:
name: Commits
uses: owncloud/reusable-workflows/.github/workflows/semantic-git-message.yml@main

php-code-style:
name: PHP Code Style
needs:
- get-vars
uses: owncloud/reusable-workflows/.github/workflows/php-codestyle.yml@main
with:
app-name: ${{ needs.get-vars.outputs.app-name }}
php-versions: ${{ needs.get-vars.outputs.php-versions }}

php-unit:
name: PHP Unit
needs:
- get-vars
uses: owncloud/reusable-workflows/.github/workflows/php-unit.yml@main
with:
app-name: ${{ needs.get-vars.outputs.app-name }}
php-versions: ${{ needs.get-vars.outputs.php-versions }}

js-unit:
name: JS Unit
needs:
- get-vars
uses: owncloud/reusable-workflows/.github/workflows/js-unit.yml@main
with:
app-name: ${{ needs.get-vars.outputs.app-name }}
php-version: '7.4'
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<name>Notes</name>
<licence>AGPL</licence>
<author>Bernhard Posselt, Jan-Christoph Borchardt, Hendrik Leppelsack</author>
<version>2.0.7</version>
<version>2.1.0</version>
<namespace>Notes</namespace>
<category>tools</category>
<summary>Distraction-free notes and writing</summary>
<description>Distraction-free notes and writing</description>
<bugs>https://github.com/owncloud/notes/issues</bugs>
<repository type="git">https://github.com/owncloud/notes.git</repository>
<dependencies>
<owncloud min-version="10.2" max-version="10" />
<owncloud min-version="10.15" max-version="11" />
</dependencies>
<screenshot>https://cloud.githubusercontent.com/assets/4741199/17731273/e557b5fe-646c-11e6-9975-d6b242454482.png</screenshot>
<navigation>
Expand Down