feat: 배포시스템 변경 및 음식점 검색 기능 추가 #94
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Continuous Integration | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| lint: | |
| name: Run Ruff linting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Install dependencies | |
| run: uv sync --dev | |
| - name: Run Ruff lint | |
| run: uv run ruff check . | |
| - name: Run Ruff format | |
| run: uv run ruff format --check . | |
| uv-lock-check: | |
| name: Check if uv.lock is up to date | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Check if uv.lock is in sync with pyproject.toml | |
| run: | | |
| uv lock --locked | |
| git diff --exit-code uv.lock |