Skip to content

Commit c1a21a0

Browse files
committed
Lock testing version of Nova
1 parent 674e85f commit c1a21a0

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.github/workflows/main.yaml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
name: CI
22
on:
3-
pull_request:
4-
paths-ignore: ['dist/**', '*.md']
5-
push:
6-
branches: [1.x, 2.x]
7-
paths-ignore: ['dist/**', '*.md']
3+
pull_request:
4+
paths-ignore: ['dist/**', '*.md']
5+
push:
6+
branches: [1.x, 2.x]
7+
paths-ignore: ['dist/**', '*.md']
88
jobs:
9-
test:
10-
name: Tests
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v2
14-
- uses: shivammathur/setup-php@v2
15-
with:
16-
php-version: 8.0
17-
- run: composer config http-basic.nova.laravel.com $NOVA_USERNAME $NOVA_PASSWORD
18-
env:
19-
NOVA_USERNAME: ${{ secrets.NOVA_USERNAME }}
20-
NOVA_PASSWORD: ${{ secrets.NOVA_PASSWORD }}
21-
- uses: ramsey/composer-install@v2
22-
- run: vendor/bin/phpunit --testdox --colors=always
9+
test:
10+
name: Tests
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: shivammathur/setup-php@v2
15+
with:
16+
php-version: 8.0
17+
- run: composer config http-basic.nova.laravel.com $NOVA_USERNAME $NOVA_PASSWORD
18+
env:
19+
NOVA_USERNAME: ${{ secrets.NOVA_USERNAME }}
20+
NOVA_PASSWORD: ${{ secrets.NOVA_PASSWORD }}
21+
- run: composer require laravel/nova:4.22.2 --no-update
22+
- uses: ramsey/composer-install@v2
23+
- run: vendor/bin/phpunit --testdox --colors=always

0 commit comments

Comments
 (0)