Skip to content

Commit a0ca04d

Browse files
committed
Try this
1 parent 8fce712 commit a0ca04d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,17 +177,15 @@ jobs:
177177
# The properties in the Tokens class have been deprecated.
178178
# The code in this repository should always use the constants instead.
179179
name: 'Find use of Tokens properties'
180-
runs-on: ubuntu-latest
180+
runs-on: windows-latest
181181

182182
steps:
183183
- name: Checkout code
184184
uses: actions/checkout@v4
185185

186186
- name: Find uses
187187
id: findprops
188-
uses: omikkel/find-occurences@v1
189-
with:
190-
search-term: 'Tokens::$'
191-
file-types: '.php$'
192-
check-all: true
193-
should-fail: true
188+
shell: cmd
189+
run: |
190+
findstr /S /N /C:"Tokens::$" *.php
191+
IF %ERRORLEVEL% EQU 1 Exit 0 || Exit 1

0 commit comments

Comments
 (0)