File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ set -eo pipefail
1818# non-zero error code, which causes this script to fail (thanks to
1919# `set -e`).
2020diff \
21- <( cat .github/workflows/ci.yml | yq ' .jobs.build_test.strategy.matrix.toolchain | .[]' | \
21+ <( cat .github/workflows/ci.yml | yq -r ' .jobs.build_test.strategy.matrix.toolchain | .[]' | \
2222 sort -u | grep -v ' ^\(msrv\|stable\|nightly\)$' ) \
2323 <( cargo metadata -q --format-version 1 | \
2424 jq -r " .packages[] | select(.name == \" zerocopy\" ).metadata.\" build-rs\" | keys | .[]" | \
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ jobs=$(for i in $(find .github -iname '*.yaml' -or -iname '*.yml')
1818 # This gets the list of jobs that all-jobs-succeed does not depend on.
1919 comm -23 \
2020 <( yq -r ' .jobs | keys | .[]' " $i " | sort | uniq) \
21- <( yq -r ' .jobs. all-jobs-succeed.needs[]' " $i " | sort | uniq)
21+ <( yq -r ' .jobs[" all-jobs-succeed"] .needs[]' " $i " | sort | uniq)
2222 fi
2323
2424 # The grep call here excludes all-jobs-succeed from the list of jobs that
You can’t perform that action at this time.
0 commit comments