use GitHub actions for CI and automate Sonarcloud analysis

This commit is contained in:
2021-05-18 20:18:13 +02:00
parent c2c7846beb
commit 718dc18c35
5 changed files with 63 additions and 32 deletions

View File

@@ -8,8 +8,15 @@ jobs:
name: Push to stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v5
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
tools: composer
- name: Install
run: composer install --no-interaction
- name: Clean README.md
run: tail -n +7 README.md > README.md.tmp && mv README.md.tmp README.md
- name: WordPress.org plugin asset/readme update