Add Github Worflow #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cobra Lint Checks | |
on: [pull_request, push] | |
jobs: | |
sort_libraries: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Run Sort Libraries Check | |
run: | | |
python3 -m colint sort-libraries ./ --check | |
code_format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Run Code Format Check | |
run: | | |
python3 -m colint code-format ./ --check | |
grammar_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Run Grammar Check | |
run: | | |
colint grammar-check ./ --check | |
newline_fix: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Run Newline Fix Check | |
run: | | |
colint newline-fix ./ --check | |
clean_jupyter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Check Jupyter Notebooks Cleanliness | |
run: | | |
colint clean-jupyter ./ --check |