testing ci using external forgejo runner #84

Merged
zach merged 21 commits from forgejo-workflows into main 2026-05-16 01:26:00 +02:00
5 changed files with 5 additions and 15 deletions
Showing only changes of commit e874c19ee2 - Show all commits
+1 -3
View File
@@ -20,9 +20,7 @@ jobs:
- name: Prettier
run: |
if [ -n "$(find . \( -iname "*.js" -o -iname "*.jsx" -o -iname "*.ts" -o -iname "*.tsx" -o -iname "*.mjs" -o -iname "*.cjs" \) -print -quit)" ]; then
if ! npx --yes prettier --check "**/*.{js,jsx,ts,tsx,mjs,cjs}" --ignore-path .gitignore; then
echo "::warning::prettier reported issues"
fi
npx --yes prettier --check "**/*.{js,jsx,ts,tsx,mjs,cjs}" --ignore-path .gitignore
else
echo "No JS/TS files found"
fi
+1 -3
View File
@@ -24,9 +24,7 @@ jobs:
npm install --no-audit --no-fund
fi
if [ -f eslint.config.js ] || [ -f eslint.config.mjs ] || [ -f eslint.config.cjs ] || [ -f .eslintrc ] || [ -f .eslintrc.js ] || [ -f .eslintrc.cjs ] || [ -f .eslintrc.json ] || [ -f .eslintrc.yaml ] || [ -f .eslintrc.yml ]; then
if ! npx --yes eslint .; then
echo "::warning::eslint reported issues"
fi
npx --yes eslint .
else
echo "No eslint config found"
fi
+1 -3
View File
@@ -24,6 +24,4 @@ jobs:
python3 -m venv .venv
. .venv/bin/activate
pip install --no-cache-dir ruff
if ! ruff check .; then
echo "::warning::ruff reported issues"
fi
ruff check .
+1 -3
View File
@@ -28,9 +28,7 @@ jobs:
export PATH="$PATH:/usr/lib/qt6/bin:/usr/lib/qt6/libexec"
if command -v qmllint >/dev/null 2>&1; then
if [ -n "$(find . -name "*.qml" -print -quit)" ]; then
if ! find . -name "*.qml" -print0 | xargs -0 qmllint; then
echo "::warning::qmllint reported issues"
fi
find . -name "*.qml" -print0 | xargs -0 qmllint
else
echo "No QML files found"
fi
+1 -3
View File
@@ -21,9 +21,7 @@ jobs:
- name: Rustfmt
run: |
if [ -f Cargo.toml ]; then
if ! cargo fmt --check; then
echo "::warning::rustfmt reported issues"
fi
cargo fmt --check
else
echo "No Rust project found"
fi