You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/check-dependencies-task.yml
+6-2
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,12 @@ jobs:
59
59
- name: Check for outdated cache
60
60
id: diff
61
61
run: |
62
-
git add --intent-to-add .
63
-
git diff --color --exit-code
62
+
git add .
63
+
if ! git diff --cached --color --exit-code; then
64
+
echo
65
+
echo "::error::Dependency license metadata out of sync. See: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-go-dependencies-task.md#metadata-cache"
66
+
exit 1
67
+
fi
64
68
65
69
# Some might find it convenient to have CI generate the cache rather than setting up for it locally
0 commit comments