Skip to content

Commit d03617c

Browse files
Improve configurations (#14)
1 parent adc2a68 commit d03617c

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2
22
updates:
3-
- package-ecosystem: github-actions
4-
directory: "/"
5-
schedule:
6-
interval: monthly
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: monthly

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build:
1010
name: PHPStan analysis
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
strategy:
1313
fail-fast: false
1414
matrix:
@@ -18,18 +18,18 @@ jobs:
1818
- "8.3"
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- name: Setup PHP
24-
uses: pmmp/setup-php-action@2.0.0
24+
uses: pmmp/setup-php-action@3.1.0
2525
with:
2626
php-version: ${{ matrix.php }}
2727
install-path: "./bin"
2828
pm-version-major: 5
2929

3030
- name: Restore Composer package cache
3131
id: composer-cache
32-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3333
with:
3434
path: "~/.cache/composer"
3535
key: "php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}"

phpstan/composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"name": "pocketmine/phpstan-plugin-config",
33
"require": {
4+
"pocketmine/pocketmine-mp": "5.0.0"
5+
},
6+
"require-dev": {
47
"phpstan/phpstan": "^1.10.0",
5-
"pocketmine/pocketmine-mp": "5.0.0",
68
"phpstan/phpstan-strict-rules": "^1.0",
79
"phpstan/extension-installer": "^1.0"
810
},

0 commit comments

Comments
 (0)