diff --git a/.drone.star b/.drone.star index 116f1605..2d2d39e5 100644 --- a/.drone.star +++ b/.drone.star @@ -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, } diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..4e2f9d19 --- /dev/null +++ b/.github/workflows/main.yml @@ -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' diff --git a/appinfo/info.xml b/appinfo/info.xml index a15aca9c..db891b13 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -4,7 +4,7 @@ Notes AGPL Bernhard Posselt, Jan-Christoph Borchardt, Hendrik Leppelsack - 2.0.7 + 2.1.0 Notes tools Distraction-free notes and writing @@ -12,7 +12,7 @@ https://github.com/owncloud/notes/issues https://github.com/owncloud/notes.git - + https://cloud.githubusercontent.com/assets/4741199/17731273/e557b5fe-646c-11e6-9975-d6b242454482.png