-
-
Notifications
You must be signed in to change notification settings - Fork 484
29 lines (29 loc) · 583 Bytes
/
loc.yml
File metadata and controls
29 lines (29 loc) · 583 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "Count Lines of Code",
"on": [
"push",
"pull_request"
],
"jobs": {
"tokei": {
"runs-on": "ubuntu-latest",
"steps": [
{
"uses": "actions/checkout@v6"
},
{
"name": "Count Lines of Code (tokei)",
"uses": "hypfer/tokei-action@master"
},
{
"name": "Upload tokei output as a build artifact",
"uses": "actions/upload-artifact@v7",
"with": {
"name": "loc.txt",
"path": "loc.txt"
}
}
]
}
}
}