Skip to content

Commit

Permalink
fixup! feat(ci): go list check versions available for untagged depend…
Browse files Browse the repository at this point in the history
…encies
  • Loading branch information
rvagg committed Dec 12, 2024
1 parent 4158ab3 commit 671954c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo "tagged<<EOF" >> $GITHUB_OUTPUT
grep -P "$V0_PATTERN" go.mod | grep -Pv "$IGNORE_PATTERN" | while read -r line; do
dep=$(echo "$line" | cut -d' ' -f1)
if [ ! -z "$(go list -m -versions $dep 2>/dev/null)" ]; then
if [ ! -z "$(go list -m -versions $dep 2>/dev/null | awk 'NF>1')" ]; then
echo "$dep"
fi
done | tee -a $GITHUB_OUTPUT
Expand Down

0 comments on commit 671954c

Please sign in to comment.