Skip to content

Commit

Permalink
debug ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Jan 25, 2022
1 parent f13a3ec commit 9e91aa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ jobs:
- name: Check devcontainer matches MSRV
run: |
versions="$(sed -nE 's|^FROM (.*/)?rust:([^ ]+)|\2|p' .devcontainer/Dockerfile)"
echo "Versions: $versions"
mismatches="$(echo "$versions" | grep -v "^${{ steps.msrv.outputs.msrv }}")"
echo "Mismatches: $mismatches"
if [ -n "$mismatches" ]; then
echo "::error title=\"MSRV mismatch\"::Devcontainer includes incorrect rust version(s): $mismatches"
exit 1
Expand Down

0 comments on commit 9e91aa9

Please sign in to comment.