mirror of
https://github.com/Refound-445/nonebot-plugin-nailongremove.git
synced 2025-09-27 04:41:56 +08:00
up
This commit is contained in:
parent
e16b7ef924
commit
77997f62ba
6
.github/workflows/pre-commit.yml
vendored
6
.github/workflows/pre-commit.yml
vendored
@ -5,6 +5,8 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions: write-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -26,8 +28,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Run pre-commit
|
- name: Run pre-commit
|
||||||
run: |-
|
run: |-
|
||||||
pdm run pre-commit run --all-files --show-diff-on-failure --color=always
|
local ret=0
|
||||||
local ret=$?
|
pdm run pre-commit run --all-files --show-diff-on-failure --color=always || ret=$?
|
||||||
|
|
||||||
# push back changes
|
# push back changes
|
||||||
if [[ -n "$(git status -s)" ]]; then
|
if [[ -n "$(git status -s)" ]]; then
|
||||||
|
2
.github/workflows/pypi-publish.yml
vendored
2
.github/workflows/pypi-publish.yml
vendored
@ -25,7 +25,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and Publish distribution 📦 to PyPI
|
- name: Build and Publish distribution 📦 to PyPI
|
||||||
run: |-
|
run: |-
|
||||||
pdm venv create --with-pip
|
|
||||||
eval "$(pdm venv activate)"
|
|
||||||
pdm pre-install
|
pdm pre-install
|
||||||
pdm pub-all-pub
|
pdm pub-all-pub
|
||||||
|
Loading…
Reference in New Issue
Block a user