Skip to content

Commit

Permalink
address actionlint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
capnspacehook committed Oct 29, 2022
1 parent 929be5b commit c5e60c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
run: |
go mod tidy -compat ${{ env.GO_VERSION }}
STATUS=$( git status --porcelain go.mod go.sum )
if [ ! -z "$STATUS" ]; then
echo "Running go mod tidy modified go.mod and/or go.sum"
exit 1
if [ -n "$STATUS" ]; then
echo "Running go mod tidy modified go.mod and/or go.sum"
exit 1
fi
exit 0
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@ jobs:
fi
# https://trstringer.com/github-actions-multiline-strings
echo "TAGS<<EOF" >> $GITHUB_ENV
echo "$TAGS" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
{
echo "TAGS<<EOF"
echo "$TAGS"
echo "EOF"
} >> "$GITHUB_ENV"
- name: Set docker labels and tags
id: metadata
Expand Down

0 comments on commit c5e60c4

Please sign in to comment.