This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
Updated siunit #7
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: Check linting | |
on: | |
push | |
jobs: | |
python-lint: | |
name: Lint Python files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Installing Flake8 | |
run: sudo pip3 install flake8 | |
- name: Lint with flake8 | |
run: sudo flake8 . --count --max-line-length=127 --statistics | |
markdown-lint: | |
name: Lint markdown files (check links validity) | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Check the validity of the links in the documentation | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
use-quiet-mode: 'yes' | |
folder-path: '.' |