Build and Test #111
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 and Test | |
on: | |
schedule: | |
# Weekday (22=10pm UTC). Evaluates to 8am AEST. | |
- cron: '0 22 * * *' | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
jobs: | |
build: | |
name: Build Pantheon upstream Convivial Composer managed | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/morpht/ci-php:8.2.14-memory | |
env: | |
PHP_MEMORY_LIMIT: 512M | |
steps: | |
- name: Checkout. | |
uses: actions/checkout@v3 | |
- name: Execute Composer install | |
run: composer install | |
- name: Validate composer.json and composer.lock | |
run: composer validate |