We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddee1c9 commit 013cbe3Copy full SHA for 013cbe3
.github/workflows/codeql-analysis.yml
@@ -77,3 +77,30 @@ jobs:
77
with:
78
name: codeql-artifacts
79
path: ${{ env.RESULTS_DIR }}
80
+
81
+ sloc-count:
82
+ name: SLOC Count
83
+ runs-on: ubuntu-latest
84
+ if: github.actor != 'pdsen-ci'
85
+ steps:
86
+ -
87
+ name: 💳 Checkout
88
+ uses: actions/checkout@v4
89
+ with:
90
+ lfs: true
91
+ fetch-depth: 0
92
+ token: ${{secrets.ADMIN_GITHUB_TOKEN}}
93
94
95
+ name: Count Lines of Code (cloc)
96
+ uses: djdefi/cloc-action@6
97
98
+ options: --report-file=cloc.md
99
100
101
102
+ name: Upload SLOC
103
+ uses: actions/upload-artifact@v4
104
105
+ name: sloc-count
106
+ path: ${{ github.workspace }}/cloc.md
0 commit comments