From 565b504c1cb8d4f21bc0cb45836e9e473a2b871e Mon Sep 17 00:00:00 2001 From: Alexander Zhogov Date: Tue, 13 Oct 2020 13:27:34 +0300 Subject: [PATCH] GitHub CI: Add files_size.yml (#2570) * GitHub CI: Add files_size.yml * Update job name --- .github/workflows/files_size.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/files_size.yml diff --git a/.github/workflows/files_size.yml b/.github/workflows/files_size.yml new file mode 100644 index 00000000000000..9f5aa130615335 --- /dev/null +++ b/.github/workflows/files_size.yml @@ -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 +