Skip to content

Merge branch 'main' of https://github.com/SkafteNicki/dtu_mlops into … #24

Merge branch 'main' of https://github.com/SkafteNicki/dtu_mlops into …

Merge branch 'main' of https://github.com/SkafteNicki/dtu_mlops into … #24

name: Check code formatting
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 13 * * 1" # run every Monday at 13:00 UTC
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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 -r requirements.txt
- name: isort
run: |
isort .
- name: black
run: |
black .
- name: ruff
run: |
ruff .