참고소스 수정본
This commit is contained in:
20
참고/ontocast-main/.github/workflows/pre-commit.yml
vendored
Normal file
20
참고/ontocast-main/.github/workflows/pre-commit.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: pre-commit
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
version: "0.9.28"
|
||||
- name: Install dependencies (including dev)
|
||||
run: uv sync --group dev
|
||||
- name: Run pre-commit
|
||||
run: uv run pre-commit run --all-files
|
||||
Reference in New Issue
Block a user