File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Count Lines of Code
2
+
3
+ # Controls when the action will run. Triggers the workflow on push or pull request
4
+ # events but only for the main branch
5
+ on :
6
+ push :
7
+ branches : [ main ]
8
+ pull_request :
9
+ branches : [ main ]
10
+ workflow_dispatch :
11
+
12
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
13
+ jobs :
14
+ # This workflow contains a single job called "build"
15
+ cloc :
16
+ # The type of runner that the job will run on
17
+ runs-on : ubuntu-latest
18
+
19
+ # Steps represent a sequence of tasks that will be executed as part of the job
20
+ steps :
21
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22
+ - uses : actions/checkout@v3
23
+
24
+ # Runs djdefi/cloc-action
25
+ - name : Count Lines of Code (cloc)
26
+ uses : djdefi/cloc-action@6
You can’t perform that action at this time.
0 commit comments