yihong0618 66e3160f17 fix: ci warning
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-03-05 15:51:21 +08:00

28 lines
560 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.event.number || github.run_id }}
cancel-in-progress: true
jobs:
testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip" # caching pip dependencies
- name: Check formatting (black)
run: |
pip install black
black . --check