composer - bump wikipedia #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: {branches: [main]} | |
pull_request: {} | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
container: | |
image: docker-registry.tools.wmflabs.org/toolforge-php82-sssd-base | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Install the testing dependencies | |
run: | | |
./composer.phar self-update | |
./composer.phar install | |
- name: PHP Lint | |
run: | | |
./vendor/bin/phplint --exclude=vendor/ | |
- name: PHP Code Sniff | |
run: | | |
./vendor/bin/phpcs --standard=PSR12 --ignore=vendor/ . |