π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] Lint on file size
Neeraj Gupta747bf885158d
diff --git a/.github/workflows/auth-lint.yml b/.github/workflows/auth-lint.ymlindex 575a5e6dc3..2deaa285f7 100644--- a/.github/workflows/auth-lint.yml+++ b/.github/workflows/auth-lint.yml@@ -30,6 +30,18 @@ jobs:exit 1fidone++ - name: Verify all icons are less than 20KB+ run: |+ find assets/custom-icons -type f -name "*.svg" | while read -r file; do+ if [[ "$file" == "assets/custom-icons/icons/bbs_nga.svg" ]]; then+ continue+ fi+ if [[ "$(stat --printf="%s" "$file")" -gt 20480 ]]; then+ echo "File size is greater than 20KB: $file ($file_size bytes)"+ exit 1+ fi+ done- name: Verify custom icon JSONrun: cat assets/custom-icons/_data/custom-icons.json | jq empty