Skip to content

Commit

Permalink
chore: add checks
Browse files Browse the repository at this point in the history
  • Loading branch information
eMerzh committed Oct 1, 2024
1 parent 6ee5ce6 commit 92f79ce
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Check deployment

on:
pull_request: {}
permissions:
contents: read
actions: write
checks: write

jobs:
sync-deploy:
name: Sync deployment
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
# Install a specific version of uv.
version: "0.4.17"
enable-cache: true
cache-dependency-glob: "uv.lock"

- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"

- name: Install the project
run: uv sync --all-extras --dev
- name: checks ruff
run: uv run ruff check .

0 comments on commit 92f79ce

Please sign in to comment.