Skip to content

Commit b80e261

Browse files
authored
UI updates (#26)
* Rename AppButton component to Button * Change Button "type" prop to "styles" * Allow Button "styles" prop to be string or array * Remove tabindex from form element * Reformat all Vue files * Require PHP 8.2 * Update NPM dependencies
1 parent 3d690bd commit b80e261

File tree

11 files changed

+548
-665
lines changed

11 files changed

+548
-665
lines changed

.github/workflows/php.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,15 @@ jobs:
1717
path: vendor
1818
key: ${{ runner.os }}-vendor-dev-${{ hashFiles('**/composer.lock') }}
1919

20+
- uses: shivammathur/setup-php@v2
21+
if: steps.cache-vendor.outputs.cache-hit != 'true'
22+
with:
23+
php-version: 8.2
24+
tools: composer:v2
25+
2026
- name: Install Composer dependencies
2127
if: steps.cache-vendor.outputs.cache-hit != 'true'
22-
run: composer build:test
28+
run: composer install --no-interaction
2329

2430
lint:
2531
name: Lint
@@ -36,7 +42,12 @@ jobs:
3642
path: vendor
3743
key: ${{ runner.os }}-vendor-dev-${{ hashFiles('**/composer.lock') }}
3844

39-
- name: Install Composer dependencies
45+
- uses: shivammathur/setup-php@v2
46+
with:
47+
php-version: 8.2
48+
tools: composer:v2
49+
50+
- name: Build
4051
if: steps.cache-vendor.outputs.cache-hit != 'true'
4152
run: build:test
4253

@@ -45,7 +56,7 @@ jobs:
4556

4657
test:
4758
name: Test
48-
needs: [lint, dependencies]
59+
needs: [dependencies, lint]
4960
runs-on: ubuntu-latest
5061
env:
5162
APP_ENV: testing
@@ -62,7 +73,13 @@ jobs:
6273
path: vendor
6374
key: ${{ runner.os }}-vendor-dev-${{ hashFiles('**/composer.lock') }}
6475

65-
- name: Install Composer dependencies
76+
- uses: shivammathur/setup-php@v2
77+
with:
78+
php-version: 8.2
79+
tools: composer:v2
80+
coverage: xdebug
81+
82+
- name: Build
6683
if: steps.cache-vendor.outputs.cache-hit != 'true'
6784
run: build:test
6885

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A starter project for Laravel apps using Inertia and Vue.",
55
"license": "MIT",
66
"require": {
7-
"php": "^8.1",
7+
"php": "^8.2",
88
"guzzlehttp/guzzle": "^7.5",
99
"inertiajs/inertia-laravel": "^0.6",
1010
"laravel/framework": "^10.0",

0 commit comments

Comments
 (0)