Skip to content

Commit

Permalink
debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
yshavit committed Feb 28, 2025
1 parent f79c6be commit 615c68b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,17 @@ jobs:
pwd
mkdir -p target/debug
cargo build
readme_version="$(cat README.md | ./target/debug/mdq '# Development | P: "Requires rustc >=" ' | awk '{print $NF}' | grep -E '\S' )"
readme_version="$(cat README.md | ./target/debug/mdq '# Development | P: "Requires rustc >=" ' | awk '{print $NF}')"
echo "Found version in readme: <$readme_version>"
echo "result=$readme_version" >> "$GITHUB_OUTPUT"
- name: pull cargo-msrv from docker hub
run: docker pull foresterre/cargo-msrv
- name: find minimum supported rust version
id: run-msrv
run: |
set -euo pipefail
min_version="$(docker run --rm -t -v "$PWD/":/app/ foresterre/cargo-msrv find --no-log --output-format minimal | grep -E '\S')"
min_version="$(docker run --rm -t -v "$PWD/":/app/ foresterre/cargo-msrv find --no-log --output-format minimal)"
echo "Found version in cargo-msrv: <$min_version>"
echo "result=$min_version" >> "$GITHUB_OUTPUT"
- name: compare versions
run: |
Expand Down

0 comments on commit 615c68b

Please sign in to comment.