Skip to content

Commit

Permalink
extract only the version string from the matched
Browse files Browse the repository at this point in the history
  • Loading branch information
yshavit committed Mar 1, 2025
1 parent a60a0ed commit 80389f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/readme-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
run: |
set -euo pipefail
exit_code=0
while IFS=: read -r file line_no found_rustc_version; do
while IFS=: read -r file line_no version_contents; do
found_rustc_version="${version_contents//rustc >= /}"
if [[ "$found_rustc_version" == "$MSRV_VERSION" ]]; then
echo "::notice file=$file,line=$line_no,title=version::✅ $found_rustc_version"
else
Expand Down

0 comments on commit 80389f2

Please sign in to comment.