File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 - name : Checkout code
2727 uses : actions/checkout@v5
2828
29+ - name : Install yq
30+ uses : mikefarah/yq@master
31+
2932 - name : Get default Python version from project config
3033 id : version
3134 run : |
Original file line number Diff line number Diff line change 4747 id : default-python-version
4848 run : |
4949 # Use project config directly with yq
50+ - name : Install yq
51+ uses : mikefarah/yq@master
5052 DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
5153 echo "default-python-version=$DEFAULT_PYTHON_VERSION" >> $GITHUB_OUTPUT
5254 echo "Using Python version : $DEFAULT_PYTHON_VERSION"
7476 id : config
7577 run : |
7678 PYTHON_VERSIONS_JSON=$(make print-json-PYTHON_VERSIONS)
79+ - name : Install yq
80+ uses : mikefarah/yq@master
7781 DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
7882 CONTAINER_REGISTRY=$(make print-CONTAINER_REGISTRY)
7983 CONTAINER_IMAGE=$(make print-CONTAINER_IMAGE)
Original file line number Diff line number Diff line change 2121 - name : Get default Python version from project config
2222 id : version
2323 run : |
24+ - name : Install yq
25+ uses : mikefarah/yq@master
2426 DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
2527 echo "default-python-version=$DEFAULT_PYTHON_VERSION" >> $GITHUB_OUTPUT
2628 echo "Using Python version : $DEFAULT_PYTHON_VERSION"
Original file line number Diff line number Diff line change 3636 - name : Get default Python version from project config
3737 id : version
3838 run : |
39+ - name : Install yq
40+ uses : mikefarah/yq@master
3941 DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
4042 echo "default-python-version=$DEFAULT_PYTHON_VERSION" >> $GITHUB_OUTPUT
4143 echo "Using Python version : $DEFAULT_PYTHON_VERSION"
Original file line number Diff line number Diff line change 3636 - name : Get default Python version from project config
3737 id : version
3838 run : |
39+ - name : Install yq
40+ uses : mikefarah/yq@master
3941 DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
4042 echo "default-python-version=$DEFAULT_PYTHON_VERSION" >> $GITHUB_OUTPUT
4143 echo "Using Python version : $DEFAULT_PYTHON_VERSION"
Original file line number Diff line number Diff line change 4141 run : |
4242 # Use consistent print-* and print-json-* targets
4343 PYTHON_VERSIONS_JSON=$(make print-json-PYTHON_VERSIONS)
44+ - name : Install yq
45+ uses : mikefarah/yq@master
4446 DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
4547
4648 echo "python-versions=$PYTHON_VERSIONS_JSON" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 3434 run : |
3535 # Use consistent print-* and print-json-* targets
3636 PYTHON_VERSIONS_JSON=$(make print-json-PYTHON_VERSIONS)
37+ - name : Install yq
38+ uses : mikefarah/yq@master
3739 DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
3840
3941 echo "python-versions=$PYTHON_VERSIONS_JSON" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 2323 for file in .github/workflows/*.yml .github/workflows/*.yaml; do
2424 if [ -f "$file" ]; then
2525 echo "Validating $file..."
26+ - name : Install yq
27+ uses : mikefarah/yq@master
2628 yq . "$file" > /dev/null && echo "VALID : $file" || (echo "INVALID: $file" && exit 1)
2729 fi
2830 done
You can’t perform that action at this time.
0 commit comments