👷 add lint ci

This commit is contained in:
StarHeartHunt 2025-02-16 10:09:24 +08:00
parent bb9ae962e6
commit 8ba2bb511c
3 changed files with 77 additions and 0 deletions

20
.github/actions/setup-python/action.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Setup Python
description: Setup Python
inputs:
python-version:
description: Python version
required: false
default: "3.9"
runs:
using: "composite"
steps:
- name: Install poetry
run: pipx install poetry
shell: bash
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: "poetry"