- commit
- 8239035202b8eda0b998406cb0fb3a36f8a10cfb
- parent
- 2ce71d10a2b6fbe8372c86e5aa6870a8635cdc45
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-03-03 13:20
setup CI
Diffstat
| A | .github/workflows/main.yml | 25 | +++++++++++++++++++++++++ |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
@@ -0,0 +1,25 @@ -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: pip install ruff -1 9 - name: linters -1 10 run: | -1 11 ruff check django_bs example -1 12 publish: -1 13 needs: [lint] -1 14 if: startsWith(github.ref, 'refs/tags') -1 15 runs-on: ubuntu-latest -1 16 permissions: -1 17 id-token: write -1 18 steps: -1 19 - uses: actions/checkout@v4 -1 20 - uses: actions/setup-python@v5 -1 21 - run: pip install build -1 22 - name: build -1 23 run: python3 -m build -1 24 - name: publish -1 25 uses: pypa/gh-action-pypi-publish@release/v1