Test fixes #40
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
# covers https://github.com/craftcms/rector/issues/5 | |
name: Install in Craft CMS | |
on: | |
pull_request: null | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
install_in_craftcms: | |
runs-on: ubuntu-latest | |
steps: | |
# see https://github.com/shivammathur/setup-php | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.0 | |
coverage: none | |
- run: git clone https://github.com/craftcms/cms.git --depth 1 | |
- run: cd cms && composer require craftcms/rector:dev-main --dev --ansi |