nwb-linkml/.github/workflows/lint.yml
sneakers-the-rat 50005d33e5
fuckin codespell.
also don't double run tests
2024-08-13 19:11:46 -07:00

37 lines
633 B
YAML

name: Lint
on:
push:
branches:
- main
pull_request:
branches: [main]
permissions:
contents: read
jobs:
ruff:
name: Ruff Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
black:
name: Black Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2