Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/ci-actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#file: noinspection UndefinedAction,UndefinedParamsPresent
name: "CI: actionlint"

on:
pull_request:
push:
branches:
- core

permissions:
contents: read

jobs:
actionlint:
name: "CI: actionlint"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7

- name: Run actionlint
uses: raven-actions/actionlint@v2
with:
version: 1.7.12
files: ".github/workflows/*.yml"
fail-on-error: true
8 changes: 7 additions & 1 deletion .github/workflows/shared-release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,13 @@ jobs:

- name: Verify Package Natives
run: |
PACKAGE=$(ls ./release/InfiniLore.InfiniFrame.NativeBridge.*.nupkg 2>/dev/null | grep -v '\.symbols\.nupkg$' | head -n 1 || true)
PACKAGE=""
for candidate in ./release/InfiniLore.InfiniFrame.NativeBridge.*.nupkg; do
if [[ -f "$candidate" && "$candidate" != *.symbols.nupkg ]]; then
PACKAGE="$candidate"
break
fi
done

if [ -z "$PACKAGE" ]; then
echo "❌ No NativeBridge package found in ./release !"
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/shared-testing-dotnetpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,13 @@ jobs:

- name: Verify NativeBridge Package Natives
run: |
PACKAGE=$(ls ./release/InfiniLore.InfiniFrame.NativeBridge.*.nupkg 2>/dev/null | grep -v '\.symbols\.nupkg$' | head -n 1 || true)
PACKAGE=""
for candidate in ./release/InfiniLore.InfiniFrame.NativeBridge.*.nupkg; do
if [[ -f "$candidate" && "$candidate" != *.symbols.nupkg ]]; then
PACKAGE="$candidate"
break
fi
done

if [ -z "$PACKAGE" ]; then
echo "❌ No InfiniFrame.NativeBridge package found in ./release"
Expand Down Expand Up @@ -125,7 +131,13 @@ jobs:
run: |
set -euo pipefail

PACKAGE=$(ls ./release/InfiniLore.InfiniFrame.NativeBridge.*.nupkg 2>/dev/null | grep -v '\.symbols\.nupkg$' | head -n 1 || true)
PACKAGE=""
for candidate in ./release/InfiniLore.InfiniFrame.NativeBridge.*.nupkg; do
if [[ -f "$candidate" && "$candidate" != *.symbols.nupkg ]]; then
PACKAGE="$candidate"
break
fi
done

if [ -z "$PACKAGE" ]; then
echo "❌ No InfiniFrame.NativeBridge package found in ./release"
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/shared-testing-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
&> compositor.log &

echo "Waiting for Wayland compositor..."
timeout 30 bash -c 'until [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; do sleep 1; done' || {
timeout 30 bash -c "until [ -S \"$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY\" ]; do sleep 1; done" || {
echo "Wayland compositor failed to start."
cat compositor.log || true
exit 1
Expand Down Expand Up @@ -213,12 +213,14 @@ jobs:
}

echo "Openbox is running:"
ps aux | grep "[o]penbox" || echo "Openbox missing unexpectedly"
pgrep -a -x openbox || echo "Openbox missing unexpectedly"

timeout 5 xwininfo -root >/dev/null 2>&1 && echo "Window manager responding" || {
if timeout 5 xwininfo -root >/dev/null 2>&1; then
echo "Window manager responding"
else
echo "Window manager not responding"
exit 1
}
fi

echo "=== Environment Status ==="
echo "Display: $DISPLAY"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/shared-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
SHA=$(curl -s \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/${{ github.repository }}/pulls/${{ inputs.pr_number }} \
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ inputs.pr_number }}" \
| jq -r .head.sha)
else
SHA="${{ github.sha }}"
Expand All @@ -80,7 +80,7 @@ jobs:
exit 1
fi

echo "sha=$SHA" >> $GITHUB_OUTPUT
echo "sha=$SHA" >> "$GITHUB_OUTPUT"

docs-validation:
name: "CI: docs"
Expand Down