Skip to content

Commit

Permalink
Add GitHub action for cloc
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Dec 4, 2024
1 parent 9557528 commit 58186b8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ on: push
env:
PRIMARY_PYTHON_VERSION: '3.12'
jobs:
cloc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Count Lines of Code (cloc) for the PTtools library
uses: djdefi/cloc-action@6
with:
options: pttools --exclude-list-file=.clocignore
- name: Count Lines of Code (cloc) for the repository
uses: djdefi/cloc-action@6
with:
options: --exclude-list-file=.clocignore
graph:
runs-on: ubuntu-latest
timeout-minutes: 5
Expand Down

0 comments on commit 58186b8

Please sign in to comment.