Skip to content

chore: add pot file, Transifex configuration file, & update-pot action #82

chore: add pot file, Transifex configuration file, & update-pot action

chore: add pot file, Transifex configuration file, & update-pot action #82

Workflow file for this run

name: Check Standards
on:
push:
branches: [dev, production]
tags:
- '*.*.*'
pull_request:
branches: [dev, production]
jobs:
src:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
php: [8.1]
os: [ubuntu-20.04]
name: Source code on PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache composer packages
uses: actions/cache@v3
with:
path: vendor
key: ${{ matrix.php }}-php-${{ hashFiles('**/composer.lock') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer
coverage: none
- name: Install dependencies
env:
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{secrets.PAT_FOR_GITHUB_ACTIONS}}"} }'
run: |
export PATH="$HOME/.composer/vendor/bin:$PATH"
composer install --prefer-dist --no-interaction --no-progress
- name: Execute style checking
run: composer standards