Skip to content

Commit

Permalink
Fixup PR check to name kit CLI binary correctly after build
Browse files Browse the repository at this point in the history
By default, go build is outputting a file named kitops, which is
untracked in the repository. This breaks later PR checks that check for
autogenerated files, etc. since it makes the repository state dirty.
  • Loading branch information
amisevsk committed Mar 5, 2024
1 parent 3b512bd commit 2d45713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Check build
run: |
if ! go build; then
if ! go build -o kit; then
echo "Project does not build"
exit 1
fi
Expand Down

0 comments on commit 2d45713

Please sign in to comment.