- commit
- b80d45a430dfc503b43aa1e0e6ccde7d04c87b90
- parent
- f85e059f1555f4c5f4496ad81135bd574d51713f
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-07-18 08:52
setup github ci
Diffstat
| A | .github/workflows/main.yml | 24 | ++++++++++++++++++++++++ |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
@@ -0,0 +1,24 @@ -1 1 on: [push] -1 2 jobs: -1 3 lint: -1 4 runs-on: ubuntu-latest -1 5 steps: -1 6 - uses: actions/checkout@v4 -1 7 - uses: actions/setup-python@v5 -1 8 - run: python3 -m pip install ruff -1 9 - name: linters -1 10 run: ruff check boon.py -1 11 publish: -1 12 needs: [lint] -1 13 if: startsWith(github.ref, 'refs/tags') -1 14 runs-on: ubuntu-latest -1 15 permissions: -1 16 id-token: write -1 17 steps: -1 18 - uses: actions/checkout@v4 -1 19 - uses: actions/setup-python@v5 -1 20 - run: python3 -m pip install build -1 21 - name: build -1 22 run: python3 -m build -1 23 - name: publish -1 24 uses: pypa/gh-action-pypi-publish@release/v1