-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (37 loc) · 1 KB
/
package.yml
File metadata and controls
50 lines (37 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Build and Publish Package
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Install dependencies
run: uv sync
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Ruff (lint)
run: uv run ruff check src apps tests
- name: Ruff (lint)
run: uv run ruff format src apps tests
- name: Pyright type checking
run: uv run pyright
- name: Build package
run: uv build
- name: Publish to Package Registry
run: uv publish
env:
UV_PUBLISH_TOKEN: ${{ secrets.KVKCONNECT_DEPLOY_TOKEN }}