add new workflows

This commit is contained in:
Ivan Schaller 2024-01-25 10:25:37 +01:00
parent de1e67c6be
commit ff3dd03ce5
3 changed files with 31 additions and 15 deletions

View File

@ -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 }}

View File

@ -0,0 +1,10 @@
name: update changelog
on:
push:
tags:
- "v*.*.*"
jobs:
update-changelog:
uses: actions/workflows/.gitea/workflows/update_changelog.yml@master

View File

@ -1,4 +1,4 @@
name: check/lint python code with hatch
name: check code
on:
push:
@ -8,17 +8,7 @@ on:
branches: [main, master]
jobs:
check-python-hatch:
runs-on: python311
steps:
- name: checkout code
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
check-code:
uses: actions/workflows/.gitea/workflows/check_python_hatch.yml@master
with:
run-tests: false