Refine the cargo.lock check pathes.
@@ -54,7 +54,7 @@ jobs:
uses: tj-actions/verify-changed-files@v13
with:
files: |
- **/Cargo.lock
+ **/workspaces/**/Cargo.lock
- name: Run step only when any of the above files change.
if: steps.verify-changed-files.outputs.files_changed == 'true'
id: check-diff
@@ -87,7 +87,7 @@ jobs:
uses: tj-actions/verify-changed-files@v13
with:
files: |
- **/Cargo.lock
+ **/workspaces/**/Cargo.lock
- name: Run step only when any of the above files change.
if: steps.verify-changed-files.outputs.files_changed == 'true'
id: check-diff
@@ -120,7 +120,7 @@ jobs:
uses: tj-actions/verify-changed-files@v13
with:
files: |
- **/Cargo.lock
+ **/workspaces/**/Cargo.lock
- name: Run step only when any of the above files change.
if: steps.verify-changed-files.outputs.files_changed == 'true'
id: check-diff
@@ -168,7 +168,7 @@ jobs:
uses: tj-actions/verify-changed-files@v13
with:
files: |
- **/Cargo.lock
+ **/workspaces/**/Cargo.lock
- name: Run step only when any of the above files change.
if: steps.verify-changed-files.outputs.files_changed == 'true'
id: check-diff
