Skip to content

Commit

Permalink
debug ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Gould <ver@buoyant.io>
  • Loading branch information
olix0r committed Jan 25, 2022
1 parent f13a3ec commit f48b8f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ jobs:

- name: Check devcontainer matches MSRV
run: |
versions="$(sed -nE 's|^FROM (.*/)?rust:([^ ]+)|\2|p' .devcontainer/Dockerfile)"
mismatches="$(echo "$versions" | grep -v "^${{ steps.msrv.outputs.msrv }}")"
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 f48b8f5

Please sign in to comment.