~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: resolve shellcheck issues in GitHub Actions workflows
LearningCircuit17dd01f1aa77
diff --git a/.github/workflows/check-css-classes.yml b/.github/workflows/check-css-classes.ymlindex e285630be8..0d22b3b473 100644--- a/.github/workflows/check-css-classes.yml+++ b/.github/workflows/check-css-classes.yml@@ -27,7 +27,7 @@ jobs:uses: actions/checkout@v4- name: Set up Python- uses: actions/setup-python@v4+ uses: actions/setup-python@v6with:python-version: "3.10"@@ -96,20 +96,20 @@ jobs:run: |# Capture output to both display and save for laterpython check_all_css.py 2>&1 | tee css_check_output.txt- exit_code=${PIPESTATUS[0]}+ exit_code="${PIPESTATUS[0]}"# Save the output to GitHub environment for later steps{echo 'CSS_CHECK_OUTPUT<<EOF'cat css_check_output.txtecho 'EOF'- } >> $GITHUB_ENV+ } >> "$GITHUB_ENV"- if [ $exit_code -ne 0 ]; then- echo "CSS_CHECK_FAILED=true" >> $GITHUB_ENV+ if [ "$exit_code" -ne 0 ]; then+ echo "CSS_CHECK_FAILED=true" >> "$GITHUB_ENV"fi- exit $exit_code+ exit "$exit_code"continue-on-error: true- name: Show CSS check resultsdiff --git a/.github/workflows/responsive-ui-tests-enhanced.yml b/.github/workflows/responsive-ui-tests-enhanced.ymlindex 7185ed5ba0..dbe21826dc 100644--- a/.github/workflows/responsive-ui-tests-enhanced.yml+++ b/.github/workflows/responsive-ui-tests-enhanced.yml@@ -46,7 +46,7 @@ jobs:uses: actions/checkout@v4- name: Set up Python- uses: actions/setup-python@v4+ uses: actions/setup-python@v6with:python-version: '3.11'cache: 'pip'@@ -163,8 +163,8 @@ jobs:set +e # Don't exit on test failure# Run tests and capture output- HEADLESS=true node test_responsive_ui_comprehensive.js ${{ matrix.viewport }} 2>&1 | tee test-output.log- TEST_EXIT_CODE=${PIPESTATUS[0]}+ HEADLESS=true node test_responsive_ui_comprehensive.js "${{ matrix.viewport }}" 2>&1 | tee test-output.log+ TEST_EXIT_CODE="${PIPESTATUS[0]}"# Extract summary for PR commentecho "### 📱 ${{ matrix.viewport }} Test Results" > test-summary.md@@ -181,20 +181,26 @@ jobs:echo "❌ **$FAILED critical issues found**" >> test-summary.mdfi- echo "" >> test-summary.md- echo "- ✅ Passed: $PASSED" >> test-summary.md- echo "- ❌ Failed: $FAILED" >> test-summary.md- echo "- ⚠️ Warnings: $WARNINGS" >> test-summary.md+ {+ echo ""+ echo "- ✅ Passed: $PASSED"+ echo "- ❌ Failed: $FAILED"+ echo "- ⚠️ Warnings: $WARNINGS"+ } >> test-summary.md- echo "test_exit_code=$TEST_EXIT_CODE" >> $GITHUB_OUTPUT- echo "test_failed=$FAILED" >> $GITHUB_OUTPUT+ {+ echo "test_exit_code=$TEST_EXIT_CODE"+ echo "test_failed=$FAILED"+ } >> "$GITHUB_OUTPUT"# Only fail if critical failures- exit $TEST_EXIT_CODE+ exit "$TEST_EXIT_CODE"- name: Generate screenshot galleryif: false # Disabled - screenshots not needed in CIworking-directory: tests/ui_tests+ env:+ BRANCH_NAME: ${{ github.head_ref || github.ref_name }}run: |# Create an HTML gallery of screenshotscat > screenshot-gallery.html << 'EOF'@@ -218,7 +224,7 @@ jobs:</head><body><h1>📸 UI Test Screenshots - ${{ matrix.viewport }}</h1>- <p>Test run: ${{ github.run_id }} | Branch: ${{ github.head_ref || github.ref_name }}</p>+ <p>Test run: ${{ github.run_id }} | Branch: ${BRANCH_NAME}</p><div class="gallery">EOF@@ -239,10 +245,12 @@ jobs:status="status-failed"fi- echo "<div class='screenshot $status'>" >> screenshot-gallery.html- echo " <h3>$device - ${filename%.png}</h3>" >> screenshot-gallery.html- echo " <img src='$img' onclick='openModal(this)' alt='$filename'>" >> screenshot-gallery.html- echo "</div>" >> screenshot-gallery.html+ {+ echo "<div class='screenshot $status'>"+ echo " <h3>$device - ${filename%.png}</h3>"+ echo " <img src='$img' onclick='openModal(this)' alt='$filename'>"+ echo "</div>"+ } >> screenshot-gallery.htmlfidonefi@@ -308,7 +316,7 @@ jobs:if: always()run: |if [ -f server.pid ]; then- kill $(cat server.pid) || true+ kill "$(cat server.pid)" || truerm server.pidfi@@ -329,10 +337,12 @@ jobs:- name: Generate combined reportrun: |# Create a combined markdown report with screenshot links- echo "# 📊 Responsive UI Test Report" > combined-report.md- echo "" >> combined-report.md- echo "## Test Summary" >> combined-report.md- echo "" >> combined-report.md+ {+ echo "# 📊 Responsive UI Test Report"+ echo ""+ echo "## Test Summary"+ echo ""+ } > combined-report.md# Process each viewport's resultsfor dir in test-artifacts/ui-test-results-*/; do@@ -355,10 +365,12 @@ jobs:fidone- echo "## 📥 Download Options" >> combined-report.md- echo "" >> combined-report.md- echo "- [Download all test artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> combined-report.md- echo "- View artifacts in the 'Artifacts' section below the workflow summary" >> combined-report.md+ {+ echo "## 📥 Download Options"+ echo ""+ echo "- [Download all test artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"+ echo "- View artifacts in the 'Artifacts' section below the workflow summary"+ } >> combined-report.md- name: Upload combined reportuses: actions/upload-artifact@v4