remove lint from docker publish workflow
This commit is contained in:
parent
d3a449269a
commit
62691413ae
2 changed files with 3 additions and 35 deletions
36
.github/workflows/build-dev.yml
vendored
36
.github/workflows/build-dev.yml
vendored
|
|
@ -51,32 +51,6 @@ jobs:
|
||||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||||
echo "Extracted version: $VERSION"
|
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:
|
test-build-regular:
|
||||||
needs: extract-version
|
needs: extract-version
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -148,7 +122,7 @@ jobs:
|
||||||
mv /tmp/.buildx-cache-dev-single-new /tmp/.buildx-cache-dev-single
|
mv /tmp/.buildx-cache-dev-single-new /tmp/.buildx-cache-dev-single
|
||||||
|
|
||||||
summary:
|
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
|
runs-on: ubuntu-latest
|
||||||
if: always()
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -160,13 +134,7 @@ jobs:
|
||||||
echo "**Dockerfile:** ${{ github.event.inputs.dockerfile || 'both' }}" >> $GITHUB_STEP_SUMMARY
|
echo "**Dockerfile:** ${{ github.event.inputs.dockerfile || 'both' }}" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "" >> $GITHUB_STEP_SUMMARY
|
echo "" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "### Results:" >> $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
|
if [[ "${{ needs.test-build-regular.result }}" == "success" ]]; then
|
||||||
echo "✅ **Regular Dockerfile:** Build successful" >> $GITHUB_STEP_SUMMARY
|
echo "✅ **Regular Dockerfile:** Build successful" >> $GITHUB_STEP_SUMMARY
|
||||||
elif [[ "${{ needs.test-build-regular.result }}" == "skipped" ]]; then
|
elif [[ "${{ needs.test-build-regular.result }}" == "skipped" ]]; then
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,9 @@ This script:
|
||||||
3. Saves the consolidated content to doc_exports/{folder_name}.md
|
3. Saves the consolidated content to doc_exports/{folder_name}.md
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import logging
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import List
|
from typing import List
|
||||||
import logging
|
|
||||||
|
|
||||||
# Configure logging
|
# Configure logging
|
||||||
logging.basicConfig(level=logging.INFO, format="%(levelname)s: %(message)s")
|
logging.basicConfig(level=logging.INFO, format="%(levelname)s: %(message)s")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue