|
6 | 6 | jobs: |
7 | 7 | phpstan: |
8 | 8 | name: PHPStan |
9 | | - runs-on: ubuntu-20.04 |
| 9 | + runs-on: ubuntu-latest |
10 | 10 |
|
11 | 11 | steps: |
12 | 12 | - name: Checkout code |
13 | | - uses: actions/checkout@v2 |
| 13 | + uses: actions/checkout@v7 |
14 | 14 |
|
15 | 15 | - name: Setup PHP |
16 | 16 | uses: shivammathur/setup-php@v2 |
17 | 17 | with: |
18 | | - php-version: 8.0 |
| 18 | + php-version: '8.4' |
19 | 19 | coverage: none |
20 | | - tools: phpstan:0.12.88, cs2pr |
| 20 | + tools: phpstan:2.3, cs2pr |
21 | 21 |
|
22 | 22 | - name: Download dependencies |
23 | | - uses: ramsey/composer-install@v1 |
| 23 | + uses: ramsey/composer-install@v4 |
24 | 24 |
|
25 | 25 | - name: PHPStan |
26 | 26 | run: phpstan analyze --no-progress --error-format=checkstyle | cs2pr |
27 | 27 |
|
28 | 28 | php-cs-fixer: |
29 | 29 | name: PHP-CS-Fixer |
30 | | - runs-on: ubuntu-20.04 |
| 30 | + runs-on: ubuntu-latest |
31 | 31 |
|
32 | 32 | steps: |
33 | 33 | - name: Checkout code |
34 | | - uses: actions/checkout@v2 |
| 34 | + uses: actions/checkout@v7 |
35 | 35 |
|
36 | 36 | - name: Setup PHP |
37 | 37 | uses: shivammathur/setup-php@v2 |
38 | 38 | with: |
39 | | - php-version: 8.0 |
| 39 | + php-version: '8.4' |
40 | 40 | coverage: none |
41 | | - tools: php-cs-fixer:2.19.0, cs2pr |
| 41 | + tools: php-cs-fixer:3.95, cs2pr |
42 | 42 |
|
43 | 43 | - name: PHP-CS-Fixer |
44 | 44 | run: php-cs-fixer fix --dry-run --format=checkstyle | cs2pr |
45 | 45 |
|
46 | 46 | psalm: |
47 | 47 | name: Psalm |
48 | | - runs-on: ubuntu-20.04 |
| 48 | + runs-on: ubuntu-latest |
49 | 49 | steps: |
50 | 50 | - name: Checkout code |
51 | | - uses: actions/checkout@v2 |
| 51 | + uses: actions/checkout@v7 |
52 | 52 |
|
53 | 53 | - name: Setup PHP |
54 | 54 | uses: shivammathur/setup-php@v2 |
55 | 55 | with: |
56 | | - php-version: 8.0 |
| 56 | + php-version: '8.4' |
57 | 57 | coverage: none |
58 | | - tools: vimeo/psalm:4.7.2 |
| 58 | + tools: psalm:6.20 |
59 | 59 |
|
60 | 60 | - name: Download dependencies |
61 | | - uses: ramsey/composer-install@v1 |
| 61 | + uses: ramsey/composer-install@v4 |
62 | 62 |
|
63 | 63 | - name: Psalm |
64 | 64 | run: psalm --no-progress --output-format=github |
65 | 65 |
|
66 | 66 | composer-normalize: |
67 | 67 | name: Composer Normalize |
68 | | - runs-on: ubuntu-20.04 |
| 68 | + runs-on: ubuntu-latest |
69 | 69 |
|
70 | 70 | steps: |
71 | 71 | - name: Setup PHP |
72 | 72 | uses: shivammathur/setup-php@v2 |
73 | 73 | with: |
74 | | - php-version: 7.4 |
| 74 | + php-version: '8.4' |
75 | 75 | coverage: none |
76 | | - tools: composer-normalize |
| 76 | + tools: composer-normalize:2.56 |
77 | 77 |
|
78 | 78 | - name: Checkout code |
79 | | - uses: actions/checkout@v2 |
| 79 | + uses: actions/checkout@v7 |
80 | 80 |
|
81 | 81 | - name: Normalize |
82 | 82 | run: composer-normalize --dry-run |
0 commit comments