From 8455322af4a5bd2f45f27e56b761551e8f06ccf7 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Fri, 28 Nov 2025 08:56:36 +0100 Subject: [PATCH] chore(ci): update uv installer, apply new formatting rules --- .gitea/workflows/build_and_publish.yml | 21 ++++++++++----------- .gitea/workflows/test_build.yml | 2 +- .gitea/workflows/typecheck.yml | 2 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/build_and_publish.yml b/.gitea/workflows/build_and_publish.yml index a4c0f9e..4e6b3c3 100644 --- a/.gitea/workflows/build_and_publish.yml +++ b/.gitea/workflows/build_and_publish.yml @@ -2,18 +2,18 @@ on: workflow_dispatch: inputs: github_release: - description: 'Create Gitea Release' + description: "Create Gitea Release" default: true type: boolean bump: - description: 'Bump type' + description: "Bump type" required: false - default: 'patch' + default: "patch" type: choice options: - - 'major' - - 'minor' - - 'patch' + - "major" + - "minor" + - "patch" jobs: build: runs-on: ubuntu-latest @@ -22,11 +22,11 @@ jobs: - name: Checkout code uses: actions/checkout@master with: - fetch-depth: 0 # Fetch full history - fetch-tags: true # Fetch all tags (refs/tags) + fetch-depth: 0 # Fetch full history + fetch-tags: true # Fetch all tags (refs/tags) - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 - name: Set up Python run: uv python install with: @@ -65,7 +65,6 @@ jobs: env: USERNAME: ${{ github.repository_owner }} run: uv publish --publish-url https://git.theprivateserver.de/api/packages/$USERNAME/pypi/ -t ${{ secrets.TOKEN }} - - name: Create release id: create_release @@ -81,4 +80,4 @@ jobs: files: | dist/* env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.TOKEN }} diff --git a/.gitea/workflows/test_build.yml b/.gitea/workflows/test_build.yml index 1ff5a6b..09829db 100644 --- a/.gitea/workflows/test_build.yml +++ b/.gitea/workflows/test_build.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@master - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version-file: "pyproject.toml" diff --git a/.gitea/workflows/typecheck.yml b/.gitea/workflows/typecheck.yml index 22c87c5..a34205e 100644 --- a/.gitea/workflows/typecheck.yml +++ b/.gitea/workflows/typecheck.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@master - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version-file: "pyproject.toml"