GitHub CI: Add files_size.yml (#2570)
authorAlexander Zhogov <alexander.zhogov@intel.com>
Tue, 13 Oct 2020 10:27:34 +0000 (13:27 +0300)
committerGitHub <noreply@github.com>
Tue, 13 Oct 2020 10:27:34 +0000 (13:27 +0300)
* GitHub CI: Add files_size.yml

* Update job name

.github/workflows/files_size.yml [new file with mode: 0644]

diff --git a/.github/workflows/files_size.yml b/.github/workflows/files_size.yml
new file mode 100644 (file)
index 0000000..9f5aa13
--- /dev/null
@@ -0,0 +1,17 @@
+name: Files Size
+on: [push, pull_request]
+
+jobs:
+  Check-Files-Size:
+    runs-on: ubuntu-18.04
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: git ls-tree
+        run: |
+          git ls-tree -r -t -l --full-name HEAD | sort -n -r -k 4
+
+      - name: git lfs ls-files
+        run: |
+          git lfs ls-files --size
+