add new workflows
This commit is contained in:
parent
de1e67c6be
commit
ff3dd03ce5
|
@ -0,0 +1,16 @@
|
||||||
|
name: build and publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*.*.*"
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches: [main, master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-pypackage:
|
||||||
|
uses: actions/workflows/.gitea/workflows/build_pypackage.yml@master
|
||||||
|
secrets:
|
||||||
|
username: __token__
|
||||||
|
token: ${{ secrets.PACKAGE_TOKEN }}
|
|
@ -0,0 +1,10 @@
|
||||||
|
name: update changelog
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*.*.*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-changelog:
|
||||||
|
uses: actions/workflows/.gitea/workflows/update_changelog.yml@master
|
|
@ -1,4 +1,4 @@
|
||||||
name: check/lint python code with hatch
|
name: check code
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -8,17 +8,7 @@ on:
|
||||||
branches: [main, master]
|
branches: [main, master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-python-hatch:
|
check-code:
|
||||||
runs-on: python311
|
uses: actions/workflows/.gitea/workflows/check_python_hatch.yml@master
|
||||||
steps:
|
with:
|
||||||
- name: checkout code
|
run-tests: false
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: install hatch
|
|
||||||
run: pip install -U hatch
|
|
||||||
|
|
||||||
- name: test codestyle
|
|
||||||
run: hatch run lint:style
|
|
||||||
|
|
||||||
- name: test typing
|
|
||||||
run: hatch run lint:typing
|
|
||||||
|
|
Loading…
Reference in New Issue