Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
yshavit committed Feb 28, 2025
1 parent 0d05ab4 commit 2e9ef98
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,20 @@ jobs:
echo "::error file=$file_path,title=git-status::<$status_code> $file_path"
done <<<"$(git status --porcelain)"
exit "$exit_code"
- run: docker pull foresterre/cargo-msrv
- run: docker run --rm -t -v "$PWD/":/app/ foresterre/cargo-msrv find --no-log --output-format minimal
- run: exit 1
msrv:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- run: cargo install cargo-msrv --locked
- run: cargo msrv find
- name: install cargo-msrv
run: docker pull foresterre/cargo-msrv
- name: find minimum supported rust version
id: msrv
run: |
min_version="$(docker run --rm -t -v "$PWD/":/app/ foresterre/cargo-msrv find --no-log --output-format minimal)"
echo "result=$min_version" >> "$GITHUB_OUTPUT"
- name: echo
run: echo ${{ steps.find.outputs.result }}

check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2e9ef98

Please sign in to comment.