update of README #2
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: Linter | |
on: | |
push: | |
paths: | |
- '*.py' | |
- '*.md' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.10.12 | |
architecture: x64 | |
- name: Install flake8 | |
run: pip install flake8 | |
- name: Run flake8 | |
uses: suo/flake8-github-action@releases/v1 | |
with: | |
checkName: 'lint' # NOTE: this needs to be the same as the job name | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Markdown Linting Checkout | |
uses: avto-dev/markdown-lint@v1.5.0 | |
- name: Lint files | |
uses: docker://avtodev/markdown-lint:v1 # fastest way | |
with: | |
args: '*.md' | |
- name: Spellcheck | |
runs-on: ubuntu-latest | |
steps: | |
# The checkout step | |
- uses: actions/checkout@v3 | |
- uses: rojopolis/spellcheck-github-actions@0.35.0 | |
name: Spellcheck |