Skip to content

Commit

Permalink
fix loop in devcontainer workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Jan 25, 2022
1 parent 1f86220 commit c119f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: |
versions=$(sed -nE 's|^FROM (.*/)?rust:([^ -]+)|\2|p' .devcontainer/Dockerfile)
ex=0
for mismatch in $(echo "$versions" | grep -F "$(cat rust-toolchain)" || true)
for mismatch in $(echo "$versions" | grep -F "$(cat rust-toolchain)" || true) ; do
echo "::error file=.devcontainer/Dockerfile::Devcontainer uses incorrect rust version(s): $mismatch"
ex=$((ex + 1))
fi
Expand Down

0 comments on commit c119f31

Please sign in to comment.