Project object c14n in separte file

Create separate file for canonicalization of project factory objects and
introduce duplicate-diff lint checker.
This commit is contained in:
Wiktor Niesiobędzki
2025-03-26 10:13:43 +00:00
committed by Wiktor Niesiobędzki
parent e4f3f713bb
commit 3e84236345
6 changed files with 302 additions and 125 deletions

View File

@@ -120,3 +120,8 @@ jobs:
diff -rub /tmp/versions.tf /tmp/versions.tofu
DIFF_EC=$?
[[ "${DIFF_EC}" -eq "0" || -z "${OUTPUT_TF}" || -z "${OUTPUT_TOFU}" ]]
- name: Check for diverging files
id: duplicates
run: |
python3 tools/duplicate-diff.py