Skip to content

chore: bump libc and sqlite to fix flatpak builds #3517

chore: bump libc and sqlite to fix flatpak builds

chore: bump libc and sqlite to fix flatpak builds #3517

Workflow file for this run

name: "Import Check"
permissions:
contents: read
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
check_messaging_imports:
name: Ensure no messaging/* imports outside messaging directory
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run messaging import check
run: |
echo "Finding all Go files outside the messaging directory..."
files=$(find . -type f -name '*.go' ! -path './pkg/messaging/*')
echo "Checking for invalid imports of github.com/status-im/status-go/pkg/messaging/*..."
for file in $files; do
if grep -qE '"github.com/status-im/status-go/pkg/messaging/(?!types|events).+"' "$file"; then
echo "Error: File $file imports github.com/status-im/status-go/pkg/messaging/* (except types and events) which is not allowed."
exit 1
fi
done
echo "No invalid github.com/status-im/status-go/pkg/messaging/* imports found."