Resolve AT Protocol DIDs, handles, and schemas with intelligent caching for Laravel
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #2 from socialdept/dev

Add GitHub Actions for tests and code style

authored by

Miguel Batres and committed by
GitHub
4c3abd5f 323f2146

+58
+26
.github/workflows/code-style.yml
··· 1 + name: Code Style 2 + 3 + on: 4 + push: 5 + branches: [ main, dev ] 6 + pull_request: 7 + branches: [ main, dev ] 8 + 9 + jobs: 10 + php-cs-fixer: 11 + runs-on: ubuntu-latest 12 + 13 + steps: 14 + - name: Checkout code 15 + uses: actions/checkout@v4 16 + 17 + - name: Setup PHP 18 + uses: shivammathur/setup-php@v2 19 + with: 20 + php-version: 8.3 21 + extensions: gmp, mbstring, json 22 + coverage: none 23 + tools: php-cs-fixer 24 + 25 + - name: Run PHP CS Fixer 26 + run: php-cs-fixer fix --dry-run --diff --verbose
+32
.github/workflows/tests.yml
··· 1 + name: Tests 2 + 3 + on: 4 + push: 5 + branches: [ main, dev ] 6 + pull_request: 7 + branches: [ main, dev ] 8 + 9 + jobs: 10 + test: 11 + runs-on: ubuntu-latest 12 + 13 + name: Tests (PHP 8.2 - Laravel 12) 14 + 15 + steps: 16 + - name: Checkout code 17 + uses: actions/checkout@v4 18 + 19 + - name: Setup PHP 20 + uses: shivammathur/setup-php@v2 21 + with: 22 + php-version: 8.2 23 + extensions: gmp, mbstring, json 24 + coverage: none 25 + 26 + - name: Install dependencies 27 + run: | 28 + composer require "laravel/framework:^12.0" "orchestra/testbench:^10.0" --no-interaction --no-update 29 + composer update --prefer-stable --prefer-dist --no-interaction 30 + 31 + - name: Execute tests 32 + run: vendor/bin/phpunit