[Crowdin] Automatic translation import #3341
Workflow file for this run
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: Build | |
on: | |
push: | |
branches: | |
- dev | |
- stable4 | |
pull_request: | |
branches: | |
- dev | |
- stable4 | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
php: | |
- '8.2' | |
node: | |
- 20 | |
python: | |
- 3.11 | |
os: | |
- ubuntu-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup PHP ${{ matrix.php }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
tools: composer:v2 | |
- name: Setup node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Setup Python ${{ matrix.python }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install modules | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: PHP Coding Guidelines | |
run: composer cgl:ci | |
- name: PHP Lint | |
run: composer lint | |
- name: PHPStan | |
run: composer phpstan -- --error-format=github | |
- name: PHP Unit | |
run: composer phpunit | |
- name: Status | |
run: |- | |
git status | |
git diff | |
git status | grep -q "nothing to commit, working tree clean" |