Skip to content

Commit 7712d55

Browse files
committed
Check PHPDoc types of the PR's last commit
1 parent ebda3fd commit 7712d55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,17 @@ jobs:
6666
steps:
6767
- name: Checkout
6868
uses: actions/checkout@v3
69+
with:
70+
fetch-depth: 2
6971

7072
- name: Setup PHP, with composer and extensions
7173
uses: shivammathur/setup-php@v2
7274
with:
7375
php-version: 8.1
7476
extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
7577
coverage: none
76-
tools: cs2pr
7778

79+
# This is non-ideal because it only checks for the last commit of the PR, not all of them, but better than nothing
7880
- name: Check PHPDoc types
7981
run: ./bin/check-phpdoc-types
8082

0 commit comments

Comments
 (0)