File tree Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
release :
11
- uses : python-social-auth/social-core/.github/workflows/release-shared.yml@master
12
- with :
13
- github_event_name : ${{ github.event_name }}
11
+ runs-on : ubuntu-latest
14
12
permissions :
15
13
id-token : write
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - uses : astral-sh/setup-uv@v5
17
+
18
+ - run : uv build
19
+
20
+ - name : Verify wheel install
21
+ run : |
22
+ uv venv venv-install-whl
23
+ source venv-install-whl/bin/activate
24
+ uv pip install dist/*.whl
25
+
26
+ - name : Verify source install
27
+ run : |
28
+ uv venv venv-install-tar
29
+ source venv-install-tar/bin/activate
30
+ uv pip install dist/*.tar.gz
31
+
32
+ - uses : actions/upload-artifact@v4
33
+ if : github.event_name == 'release'
34
+ with :
35
+ name : dist
36
+ path : |
37
+ dist/*.tar.gz
38
+ dist/*.whl
39
+
40
+ - run : uvx twine check dist/*
41
+
42
+ - if : github.event_name == 'release'
43
+ run : uv publish --verbose --verbose --trusted-publishing always
Original file line number Diff line number Diff line change 17
17
- id : pretty-format-json
18
18
args : [--no-sort-keys, --autofix, --no-ensure-ascii]
19
19
- repo : https://github.com/astral-sh/ruff-pre-commit
20
- rev : v0.9.4
20
+ rev : v0.9.6
21
21
hooks :
22
22
- id : ruff
23
23
args : [--fix, --exit-non-zero-on-fix]
You can’t perform that action at this time.
0 commit comments