Merge pull request #3540 from NamelessMC/lang/serbian #5309
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: CI | |
on: [push, pull_request] | |
jobs: | |
phpstan: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: ["ubuntu-latest"] | |
php-versions: ["7.4", "8.0", "8.1", "8.2", "8.3"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: Install dependencies | |
run: composer update --no-interaction --no-suggest --no-progress | |
- name: Execute PHPStan | |
run: vendor/bin/phpstan --configuration=dev/phpstan.neon | |
unused-language-term-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Unused language term check | |
run: bash dev/scripts/find_unused_language_terms.sh |