Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[auth] Move custom icon validation on top

Neeraj Guptae3a4f419f4bd
diff --git a/.github/workflows/auth-lint.yml b/.github/workflows/auth-lint.yml
index 53d5047113..575a5e6dc3 100644
--- a/.github/workflows/auth-lint.yml
+++ b/.github/workflows/auth-lint.yml
@@ -22,17 +22,6 @@ jobs:
with:
submodules: recursive
- - name: Install Flutter ${{ env.FLUTTER_VERSION }}
- uses: subosito/flutter-action@v2
- with:
- channel: "stable"
- flutter-version: ${{ env.FLUTTER_VERSION }}
- cache: true
-
- - run: flutter pub get
-
- - run: flutter analyze --no-fatal-infos
-
- name: Verify custom icons are lowercase including optional understores, and end with .svg
run: |
find assets/custom-icons -type f -name "*.svg" | while read -r file; do
@@ -41,7 +30,17 @@ jobs:
exit 1
fi
done
-
- name: Verify custom icon JSON
run: cat assets/custom-icons/_data/custom-icons.json | jq empty
+
+ - name: Install Flutter ${{ env.FLUTTER_VERSION }}
+ uses: subosito/flutter-action@v2
+ with:
+ channel: "stable"
+ flutter-version: ${{ env.FLUTTER_VERSION }}
+ cache: true
+
+ - run: flutter pub get
+
+ - run: flutter analyze --no-fatal-infos