chore: bump libc and sqlite to fix flatpak builds #3517
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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." |