Skip to content

Commit 7df6164

Browse files
committed
chore: update shared files
Automated update of shared files from the social-core repository, see https://github.com/python-social-auth/.github/blob/main/repo-sync.py
1 parent 225cfc0 commit 7df6164

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

.github/workflows/release.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,36 @@ on:
88

99
jobs:
1010
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
1412
permissions:
1513
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

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: pretty-format-json
1818
args: [--no-sort-keys, --autofix, --no-ensure-ascii]
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.9.4
20+
rev: v0.9.6
2121
hooks:
2222
- id: ruff
2323
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)