From 95fe968c3b9774e2b6873f0bb86442547bf7cb3d Mon Sep 17 00:00:00 2001 From: Lukas Dullinger <129603980+itislu@users.noreply.github.com> Date: Fri, 26 Jul 2024 00:43:34 +0200 Subject: [PATCH] doc: Include markdown in lines of code --- .github/workflows/lines_of_code.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lines_of_code.yaml b/.github/workflows/lines_of_code.yaml index 1897aa8c..bb57f8d6 100644 --- a/.github/workflows/lines_of_code.yaml +++ b/.github/workflows/lines_of_code.yaml @@ -25,12 +25,12 @@ jobs: - name: Count lines by language run : | - ${{ env.CLOC_DIR }}/cloc --fmt=2 --include-lang='C,C/C++ Header,make,YAML,Python,Bourne Shell,Bourne Again Shell,yacc,Dockerfile' . | tee ${{ env.CLOC_DIR }}/cloc_output.txt + ${{ env.CLOC_DIR }}/cloc --fmt=2 --include-lang='C,C/C++ Header,make,YAML,Python,Bourne Shell,Bourne Again Shell,yacc,Markdown,Dockerfile' . | tee ${{ env.CLOC_DIR }}/cloc_output.txt echo "LINES_OF_CODE=$(grep 'SUM:' ${{ env.CLOC_DIR }}/cloc_output.txt | awk '{print $5}')" >> "$GITHUB_ENV" - name: Count lines by file run : | - ${{ env.CLOC_DIR }}/cloc --fmt=5 --include-lang='C,C/C++ Header,make,YAML,Python,Bourne Shell,Bourne Again Shell,yacc,Dockerfile' . + ${{ env.CLOC_DIR }}/cloc --fmt=5 --include-lang='C,C/C++ Header,make,YAML,Python,Bourne Shell,Bourne Again Shell,yacc,Markdown,Dockerfile' . - name: Create badge uses: RubbaBoy/BYOB@v1