Skip to content
Draft
Changes from 2 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
31 changes: 31 additions & 0 deletions .github/workflows/ur-check-network-cards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: UR - Check Network Cards

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/ur-check-network-cards.yml'

jobs:
check-network:
strategy:
fail-fast: false
matrix:
runner: [UR_L0, UR_L0_BMG, UR_CUDA, UR_OPENCL, UR_NATIVE_CPU]
runs-on: ${{ matrix.runner }}
steps:
- name: Check network card
run: |
echo "=== Runner: ${{ matrix.runner }} ==="
echo ""
echo "=== lspci network devices ==="
lspci | grep -i -E 'network|ethernet' || true
echo ""
echo "=== Network interfaces ==="
ip link show
echo ""
echo "=== Interface details (ethtool) ==="
for iface in $(ls /sys/class/net/ | grep -v lo); do
echo "--- $iface ---"

Check warning

Code scanning / zizmor

overly broad permissions Warning

overly broad permissions
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
ethtool -i "$iface" 2>/dev/null || true
done
Loading