CICDToolbox / github-linguist

A tool to run github-linguist against your codebase in a CI/CD pipeline.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CICDToolbox Logo
Github Build Status Release Commits since release

Overview

A tool to run github-linguist against your repository in a CI/CD pipeline.

This tool has been written and tested using GitHub Actions but it should work out of the box with a lot of other CI/CD tools.

Usage

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    - name: Set up Ruby 3.0
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.0
    - name: Run GitHun Linguist
      run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/github-linguist/master/pipeline.sh)

Example Output

This is an example of the output report generated by this tool, this is the actual output from the tool running against itself.

--------------------------------------------------------------- Stage 1 - Install Prerequisites --
 [  OK  ] gem install --quiet github-linguist
------------------------------------------------------- Stage 2 - Run github-linguist (v7.16.1) --
 100.00% 10193      Shell

 Shell:
     pipeline.sh
---------------------------------------------------------------------------- Stage 3 - Complete --

File Identification

Github Linguist manages its own file identification.

About

A tool to run github-linguist against your codebase in a CI/CD pipeline.

License:MIT License


Languages

Language:Shell 100.0%