Bump twig/twig from 3.10.3 to 3.14.0 #70
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: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
run: | |
name: Elasticsearch | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
stack-version: ["6.8.23", "7.17.13", "8.9.2"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Configure sysctl limits | |
run: | | |
sudo swapoff -a | |
sudo sysctl -w vm.swappiness=1 | |
sudo sysctl -w fs.file-max=262144 | |
sudo sysctl -w vm.max_map_count=262144 | |
- name: Runs Elasticsearch | |
uses: elastic/elastic-github-actions/elasticsearch@master | |
with: | |
stack-version: ${{ matrix.stack-version }} | |
security-enabled: false | |
port: 9200 | |
- name: Setup PHP | |
uses: nanasess/setup-php@master | |
with: | |
php-version: 8.2 | |
env: | |
ELASTICSEARCH_URL: 127.0.0.1:9200 | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install dependencies | |
run: composer install --optimize-autoloader --no-interaction --no-progress | |
- run: bin/console asset-map:compile | |
- run: sudo chown -R $USER:$USER /home/runner/work/elasticsearch-admin/elasticsearch-admin | |
- run: bin/console app:phpunit | |
- run: bin/phpunit | |
- run: vendor/bin/phpstan analyse -l 7 src | |
- run: vendor/bin/phpstan analyse -l 7 tests |