Skip to content

Digitsum sequences

Digitsum sequences #9

name: linting-and-formatting
on:
pull_request:
branches:
- main
- staging
jobs:
linting-and-formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Formatting
run: |
ruff format . --diff
- name: Linting
run: |
ruff check . --output-file=github