Determine asset content-type from extension #437
Workflow file for this run
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: Commit Pipeline | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Install Composer dependencies | |
run: composer install | |
- name: Create .env file | |
run: cp .env.example .env | |
- name: Create App Key | |
run: php artisan key:generate | |
- name: Run tests | |
run: | | |
vendor/bin/phpstan --memory-limit=1G analyse | |
php artisan test tests/Unit | |
# [chuck 2025-02-06] Removed pint. Its not only grotesquely slow, it doesn't even fix things in one pass. | |
# If we're going to have style wars, I'd rather it were between humans and not within one insane formatter. | |
# - name: Run tests | |
# run: | | |
# vendor/bin/pint --test | |
# vendor/bin/phpstan --memory-limit=1G analyse | |
# php artisan test tests/Unit |