fix(docker): allow OPEN_ROUTER_API_KEY to be overwritten #42
This file contains 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: Lint | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
lint: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Set up Python environment | |
- name: Set up uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
version: "latest" | |
# Install dependencies | |
- name: Install dependencies | |
run: uv sync --frozen --all-extras | |
# Format code with ruff | |
- name: Format with ruff | |
run: uv run ruff format --diff | |
# Lint code with ruff | |
- name: Lint with ruff | |
run: uv run ruff check --diff | |
continue-on-error: false | |
# Type check with pyright | |
- name: Type check with pyright | |
run: uv run pyright |