diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 67bf001..c483cc7 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -51,32 +51,6 @@ jobs: echo "version=$VERSION" >> $GITHUB_OUTPUT echo "Extracted version: $VERSION" - lint-and-check: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.12' - - - name: Install uv - uses: astral-sh/setup-uv@v3 - - - name: Install dependencies - run: | - uv sync --all-extras - uv pip install ruff mypy - - - name: Run ruff - run: uv run ruff check . --output-format=github - - - name: Run mypy - run: uv run python -m mypy . || true - continue-on-error: true - test-build-regular: needs: extract-version runs-on: ubuntu-latest @@ -148,7 +122,7 @@ jobs: mv /tmp/.buildx-cache-dev-single-new /tmp/.buildx-cache-dev-single summary: - needs: [extract-version, lint-and-check, test-build-regular, test-build-single] + needs: [extract-version, test-build-regular, test-build-single] runs-on: ubuntu-latest if: always() steps: @@ -160,13 +134,7 @@ jobs: echo "**Dockerfile:** ${{ github.event.inputs.dockerfile || 'both' }}" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo "### Results:" >> $GITHUB_STEP_SUMMARY - - if [[ "${{ needs.lint-and-check.result }}" == "success" ]]; then - echo "✅ **Lint & Type Check:** Passed" >> $GITHUB_STEP_SUMMARY - else - echo "❌ **Lint & Type Check:** Failed" >> $GITHUB_STEP_SUMMARY - fi - + if [[ "${{ needs.test-build-regular.result }}" == "success" ]]; then echo "✅ **Regular Dockerfile:** Build successful" >> $GITHUB_STEP_SUMMARY elif [[ "${{ needs.test-build-regular.result }}" == "skipped" ]]; then diff --git a/scripts/export_docs.py b/scripts/export_docs.py index 00bb0eb..602c618 100644 --- a/scripts/export_docs.py +++ b/scripts/export_docs.py @@ -8,9 +8,9 @@ This script: 3. Saves the consolidated content to doc_exports/{folder_name}.md """ +import logging from pathlib import Path from typing import List -import logging # Configure logging logging.basicConfig(level=logging.INFO, format="%(levelname)s: %(message)s")