Add a workflow to ensure this project is actually buildable #1
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 project | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '0 3 */2 * *' | |
jobs: | |
composer-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout self | |
uses: actions/checkout@v2 | |
with: | |
path: drupal-project-checkout | |
- name: Install PHP and Composer | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
tools: composer:v2 | |
- name: Create Drupal Project | |
run: | | |
composer create-project php-tuf/drupal-project drupal-project-local --repository '{"type": "path", "url": "../drupal-project-checkout", "options": {"symlink": false}}' --stability=dev |