Compare commits

5 Commits
Author SHA1 Message Date
Brian Bjarke Jensen ec0aca846a updated to use uv to publish package
Code Quality Pipeline / code-quality (push) Successful in 38s
Test Python Package / test (push) Successful in 19s
Publish Python Package / build-and-publish (push) Successful in 18s
Dependency Update Bot / update-check (push) Failing after 12s
Security Audit / safety (push) Successful in 27s
2025-08-28 22:39:10 +02:00
Brian Bjarke Jensen 608b2d6b10 moved mypy check step
Code Quality Pipeline / code-quality (push) Successful in 27s
Test Python Package / test (push) Successful in 10s
2025-08-28 22:34:51 +02:00
Brian Bjarke Jensen 02b156996d moved mypy check to code-quality pipeline
Code Quality Pipeline / code-quality (push) Successful in 37s
Test Python Package / test (push) Successful in 22s
2025-08-28 22:33:42 +02:00
Brian Bjarke Jensen 08a5ad8afa Merge pull request 'fixed tagging issues' (#3) from fix-license-issue into main
Code Quality Pipeline / code-quality (push) Successful in 22s
Test Python Package / test (push) Successful in 18s
Type Check / type-check (push) Successful in 26s
Publish Python Package / build-and-publish (push) Failing after 17s
Reviewed-on: #3
2025-08-28 22:28:47 +02:00
Brian Bjarke Jensen c0ce37f43c reverted all changes...
Code Quality Pipeline / code-quality (pull_request) Successful in 22s
Test Python Package / test (pull_request) Successful in 19s
Type Check / type-check (pull_request) Successful in 27s
2025-08-28 22:26:45 +02:00
5 changed files with 25 additions and 36 deletions
+3
View File
@@ -26,6 +26,9 @@ jobs:
UV_LINK_MODE: copy UV_LINK_MODE: copy
run: uv sync run: uv sync
- name: Type check with mypy
run: uv run mypy .
- name: Ruff lint - name: Ruff lint
run: uv run ruff check . run: uv run ruff check .
+3 -5
View File
@@ -36,9 +36,7 @@ jobs:
- name: Publish to Gitea Package Registry - name: Publish to Gitea Package Registry
env: env:
TWINE_USERNAME: __token__ UV_PUBLISH_TOKEN: ${{ secrets.CI_RUNNER_TOKEN }}
TWINE_PASSWORD: ${{ secrets.CI_RUNNER_TOKEN }} UV_PUBLISH_URL: ${{ vars.REPOSITORY_URL }}
TWINE_REPOSITORY_URL: ${{ vars.REPOSITORY_URL }}
run: | run: |
uv pip install twine --system uv publish
twine upload dist/*
-30
View File
@@ -1,30 +0,0 @@
name: Type Check
on:
push:
branches:
- main
pull_request:
jobs:
type-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- name: Install uv
run: pip install uv
- name: Install dependencies
env:
UV_LINK_MODE: copy
run: uv sync
- name: Run mypy
run: uv run mypy .
+18
View File
@@ -0,0 +1,18 @@
MIT License
Copyright (c) 2025 brian
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
+1 -1
View File
@@ -7,7 +7,7 @@ authors = [
] ]
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
license = "MIT" license = { text = "MIT" }
classifiers = [ classifiers = [
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",