Compare commits
3
Commits
08a5ad8afa
...
v0.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec0aca846a | ||
|
|
608b2d6b10 | ||
|
|
02b156996d |
@@ -26,6 +26,9 @@ jobs:
|
||||
UV_LINK_MODE: copy
|
||||
run: uv sync
|
||||
|
||||
- name: Type check with mypy
|
||||
run: uv run mypy .
|
||||
|
||||
- name: Ruff lint
|
||||
run: uv run ruff check .
|
||||
|
||||
|
||||
@@ -36,9 +36,7 @@ jobs:
|
||||
|
||||
- name: Publish to Gitea Package Registry
|
||||
env:
|
||||
TWINE_USERNAME: __token__
|
||||
TWINE_PASSWORD: ${{ secrets.CI_RUNNER_TOKEN }}
|
||||
TWINE_REPOSITORY_URL: ${{ vars.REPOSITORY_URL }}
|
||||
UV_PUBLISH_TOKEN: ${{ secrets.CI_RUNNER_TOKEN }}
|
||||
UV_PUBLISH_URL: ${{ vars.REPOSITORY_URL }}
|
||||
run: |
|
||||
uv pip install twine --system
|
||||
twine upload dist/*
|
||||
uv publish
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
name: Type Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
type-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ inputs.python-version }}
|
||||
|
||||
- name: Install uv
|
||||
run: pip install uv
|
||||
|
||||
- name: Install dependencies
|
||||
env:
|
||||
UV_LINK_MODE: copy
|
||||
run: uv sync
|
||||
|
||||
- name: Run mypy
|
||||
run: uv run mypy .
|
||||
Reference in New Issue
Block a user