Skip to content

Commit

Permalink
Add SCC badges and GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Apr 26, 2024
1 parent 7ab62a9 commit d2db1b6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
boyter
brightgreen
CentOS
COCOMO
codebase
contrib
Distros
Expand All @@ -22,9 +24,12 @@ QAT
QuickAssit
repo
rubocop
scc
sloc
src
SRIOV
svg
vagrantup
VFS
VirtualBox
xyz
13 changes: 13 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ on:
pull_request:

jobs:
get-sloc:
name: Count Lines of Code
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup Go
uses: actions/[email protected]
with:
go-version: '>=1.20.0'
- name: Install dependencies
run: go install github.com/boyter/scc/v3@latest
- name: Run scc tool
run: scc --format wide
check-broken-links:
name: Check documentation external links
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)
<!-- markdown-link-check-disable-next-line -->
![visitors](https://visitor-badge.laobi.icu/badge?page_id=electrocucaracha.bootstrap-vagrant)
[![Scc Code Badge](https://sloc.xyz/github/electrocucaracha/bootstrap-vagrant?category=code)](https://github.com/boyter/scc/)
[![Scc COCOMO Badge](https://sloc.xyz/github/electrocucaracha/bootstrap-vagrant?category=cocomo)](https://github.com/boyter/scc/)

This project was created to ensure that [setup.sh](setup.sh) bash script is able
to install [Vagrant tool][1] in different Linux Distributions. It covers the
Expand Down

0 comments on commit d2db1b6

Please sign in to comment.