Skip to content

Commit cf31db4

Browse files
committed
update CI
1 parent 8c89c2b commit cf31db4

File tree

4 files changed

+0
-46
lines changed

4 files changed

+0
-46
lines changed

.github/workflows/ci.yml

-14
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: CI
33
env:
44
COMPOSE_INTERACTIVE_NO_CLI: 1
55
PHP_CS_FIXER_IGNORE_ENV: 1
6-
MYSQL_PORT: 3307
76
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87

98
on:
@@ -18,24 +17,11 @@ jobs:
1817

1918
steps:
2019
- uses: actions/checkout@v2
21-
- name: Start docker containers
22-
run: docker-compose up -d
2320
- name: Install composer dependencies
2421
run: composer install
2522
- name: Run tests
2623
run: vendor/bin/pest
2724

28-
phpstan:
29-
name: Static analysis (PHPStan)
30-
runs-on: ubuntu-latest
31-
32-
steps:
33-
- uses: actions/checkout@v2
34-
- name: Install composer dependencies
35-
run: composer install
36-
- name: Run phpstan
37-
run: vendor/bin/phpstan analyse
38-
3925
php-cs-fixer:
4026
name: Code style (php-cs-fixer)
4127
runs-on: ubuntu-latest

check

-7
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ else
3636
esac
3737
fi
3838

39-
if (./vendor/bin/phpstan analyse > /dev/null 2>/dev/null); then
40-
echo '✅ PHPStan OK'
41-
else
42-
echo '❌ PHPStan FAIL'
43-
offer_run './vendor/bin/phpstan analyse'
44-
fi
45-
4639
if (./vendor/bin/pest > /dev/null 2>/dev/null); then
4740
echo '✅ PEST OK'
4841
else

composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
},
2424
"require-dev": {
2525
"orchestra/testbench": "^6.9",
26-
"nunomaduro/larastan": "^0.6.10",
2726
"pestphp/pest": "^1.2",
2827
"pestphp/pest-plugin-laravel": "^1.0"
2928
}

phpstan.neon

-24
This file was deleted.

0 commit comments

Comments
 (0)