Proposal for bugfix of issue #4883: Privacy settings for GEDCOM exports are not correctly applied to certain facts in HEAD (e.g. SUBM) #4654
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: Code style | |
on: [push, pull_request] | |
jobs: | |
run: | |
if: ${{ !startsWith(github.event.head_commit.message, 'Translation:') }} | |
runs-on: ${{ matrix.operating-system }} | |
name: PHP/PHTML/CSS | |
strategy: | |
matrix: | |
operating-system: ['ubuntu-latest'] | |
php-version: ['8.1', '8.2', '8.3'] | |
steps: | |
- uses: shivammathur/setup-php@master | |
with: | |
php-version: ${{ matrix.php-version }} | |
- uses: actions/checkout@v3 | |
- run: composer validate | |
- run: composer global require squizlabs/php_codesniffer | |
- name: PHP | |
run: ~/.composer/vendor/bin/phpcs --colors --standard=PSR12 --exclude=Generic.Files.LineLength --extensions=php index.php app tests | |
- name: Style sheets | |
run: ~/.composer/vendor/bin/phpcs --colors --extensions=css resources/css |