Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ”§ Fixes actionlint warn on ci.yml

Alicia Sykes1d49f16d2854
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 76ee0bfe..7cd47b41 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -109,15 +109,7 @@ jobs:
run: yarn install --frozen-lockfile
- name: Run Tests
- run: yarn test 2>&1 | tee test-report.txt
-
- - name: Upload Test Report
- if: always()
- uses: actions/upload-artifact@v4
- with:
- name: test-report
- path: test-report.txt
- if-no-files-found: ignore
+ run: yarn test
locales:
name: 🌐 Locale Check
@@ -134,15 +126,7 @@ jobs:
node-version: '20'
- name: Check Locales
- run: yarn validate-locales 2>&1 | tee locale-report.txt
-
- - name: Upload Locale Report
- if: always()
- uses: actions/upload-artifact@v4
- with:
- name: locale-report
- path: locale-report.txt
- if-no-files-found: ignore
+ run: yarn validate-locales
spellcheck:
name: ✏️ Spellcheck
@@ -274,13 +258,6 @@ jobs:
- secret-scan
- workflow-audit
steps:
- - name: Download Reports
- uses: actions/download-artifact@v4
- continue-on-error: true
- with:
- path: reports
- merge-multiple: true
-
- name: Render Summary
env:
NEEDS: ${{ toJSON(needs) }}
@@ -309,12 +286,6 @@ jobs:
*) echo "❔ $1" ;;
esac
}
- details() {
- [ -f "$2" ] || return 0
- printf '\n<details><summary>%s</summary>\n\n```\n' "$1" >> "$GITHUB_STEP_SUMMARY"
- cat "$2" >> "$GITHUB_STEP_SUMMARY"
- printf '\n```\n</details>\n' >> "$GITHUB_STEP_SUMMARY"
- }
{
echo "## CI Summary"
echo ""
@@ -325,5 +296,3 @@ jobs:
result=$(echo "$NEEDS" | jq -r --arg j "$job" '.[$j].result')
echo "| $(label "$job") | $(status "$result" "$job") |" >> "$GITHUB_STEP_SUMMARY"
done
- details "πŸ§ͺ Test Report" reports/test-report.txt
- details "🌐 Locale Report" reports/locale-report.txt