Skip to content

Commit 6d0e87a

Browse files
committed
Try setting an environment variable to the list of files to be linted.
1 parent 281c046 commit 6d0e87a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ jobs:
2323
sudo snap install --edge vale
2424
2525
- name: Run tests with make test
26-
run: make test vale
26+
run: |
27+
echo "VALEFILES=$(find -L ./docs/ -type d \( -path ./docs/plone.restapi/lib/* -o -path "./docs/plone.restapi/performance/*" \) -prune -false -o -type f -name "*.md" -print)" >> $GITHUB_ENV
28+
# make test
29+
make vale ${{ env.VALEFILES }}

0 commit comments

Comments
 (0)