Skip to content

setup: Vendor asyncudp #3

setup: Vendor asyncudp

setup: Vendor asyncudp #3

name: Check if a precompiled binary file exists in dependencies
on:
pull_request:
paths:
python.lock
jobs:
check-requirement:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check if a precompiled binary file exists in dependencies
run: |
cat python.lock | grep -v '^//' | jq -r '.locked_resolves[].locked_requirements[]
| select(any(.artifacts[].url; endswith(".whl")) | not) | .project_name' >> packages-missing-precompiled-wheels.txt
- run: |
if [ -s packages-missing-precompiled-wheels.txt ]; then
echo "There are some dependencies that do not have precompiled binary files."
echo "Please check the following dependencies:"
cat packages-missing-precompiled-wheels.txt
exit 1
fi