Merge pull request #140 from clue/dependabot/composer/symfony/http-fo… #148
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: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
Deploy: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
php: | |
- 8.1 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: none | |
- run: make | |
- run: make served | |
- run: bash tests/await.bash http://clue.localhost/ | |
- run: make test | |
- run: git config --global user.name "GitHub Actions" && git config --global user.email "[email protected]" | |
- run: git config --global url."https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/" | |
- run: make deploy | |
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }} |