Skip to content

setup: Upgrade redis from 4.5.5 to 4.6.0 #15

setup: Upgrade redis from 4.5.5 to 4.6.0

setup: Upgrade redis from 4.5.5 to 4.6.0 #15

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