Biosustain's best practices check implementation for github actions.
name: Code quality
description: Workflow to check if project meets the code quality standards of the Biosustain group
on:
push:
branches: main
pull_request:
jobs:
code-quality-check:
name: Code quality check
uses: biosustain/code-quality-check/.github/workflows/code-quality-check.yml@latest
Alternatively, for better performance one can use specific megalinter flavour.
For example for python project:
name: Code quality
description: Workflow to check if project meets the code quality standards of the Biosustain group
on:
push:
branches: main
pull_request:
jobs:
code-quality-check:
name: Code quality check
uses: biosustain/code-quality-check/.github/workflows/python-code-quality-check.yml@latest