ups/.gitea/workflows/format.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 21: mapping key "run" already defined at line 20
ngn 9cbe33c8be
fix the format workflow (hopefully)
Signed-off-by: ngn <ngn@ngn.tf>
2025-05-02 18:28:54 +03:00

30 lines
571 B
YAML

name: format
on:
push:
branches:
- "main"
paths-ignore:
- "README.md"
- "LICENSE.txt"
- "pyproject.toml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: "https://github.com/actions/checkout@v4"
- name: Install black formatter
run: sudo apt install black
run: |
python3 -m venv venv
source venv/bin/activate
pip3 install black
- name: Check formatting
run: |
source venv/bin/activate
make check