Skip to content

Merge pull request #61 from madewithlove/dependabot/composer/symfony/… #14

Merge pull request #61 from madewithlove/dependabot/composer/symfony/…

Merge pull request #61 from madewithlove/dependabot/composer/symfony/… #14

Workflow file for this run

name: Verify that main branch is installable and usable
on:
push:
branches:
- main
jobs:
install-and-test:
name: Check that this is installable and usable
runs-on: ubuntu-latest
steps:
- name: Wait for a bit before trying to fetch the new version
run: sleep 300
- name: Clear composer cache
run: composer clear-cache
- name: Require this version
run: composer require madewithlove/htaccess-cli:dev-${GITHUB_REF##*/}#$GITHUB_SHA --prefer-source
- name: Add a very basic htaccess file
run: echo "RewriteRule .* /foo" >> .htaccess
- name: Run the htaccess tester
run: vendor/bin/htaccess http://localhost