Skip to content

Commit

Permalink
try 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul to the Plessing committed Oct 27, 2020
1 parent d39b7d3 commit ab14736
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM openjdk:jre-slim
ADD https://github.com/pinterest/ktlint/releases/download/0.39.0/ktlint /usr/local/bin/ktlint
RUN chmod +x /usr/local/bin/ktlint

ENTRYPOINT ["ktlint", "-F"]
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
set -e
echo "Formatting $GITHUB_REPOSITORY"
sh -c "ktlint -F"

0 comments on commit ab14736

Please sign in to comment.