Skip to content

Commit

Permalink
Merge branch 'dev' into uv-build
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus committed Sep 10, 2024
2 parents be3f860 + c21fbd2 commit 53da871
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,29 @@ jobs:
runs-on: "ubuntu-latest"
name: Check code quality
steps:
- uses: actions/checkout@v4
- name: Set up uv
# Install latest uv version using the installer
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: "Set up Python"
- name: ⤵️ Checkout repository
uses: actions/checkout@v4

- name: 🏗 Install uv
uses: astral-sh/setup-uv@v2

- name: 🏗 Set up Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Restore uv cache

- name: 🏗 Restore uv cache
uses: actions/cache@v4
with:
path: /tmp/.uv-cache
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
restore-keys: |
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
uv-${{ runner.os }}
- name: Install the project
- name: 🏗 Install the project
run: uv sync --locked --dev

# Following steps cannot run by pre-commit.ci as repo = local
- name: Run mypy
run: uv run mypy deebot_client/
Expand Down
10 changes: 5 additions & 5 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 53da871

Please sign in to comment.