Skip to content

Commit

Permalink
Merge branch 'pr_test' of https://github.com/SrLtas/cubrid-migration
Browse files Browse the repository at this point in the history
…into pr_test
  • Loading branch information
Srltas committed Apr 17, 2024
2 parents cbcac41 + 1b18e83 commit 71382c5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,20 @@ jobs:
result_for_f="FAIL"
for header in `find $license_headers -type f`; do
line_cnt=`wc -l < $header`
echo "line_cnt"
echo $line_cnt
echo "temp_file"
`head -n $line_cnt $f` > temp_file
cat $temp_file
echo "header"
cat $header
head -n $line_cnt $f | diff -q - $header
if [ $? -eq 0 ]; then
result_for_f="PASS"
break
fi
done
echo "$f: $result_for_f"
if [ "$result_for_f" = "FAIL" ]; then
result="FAIL"
Expand Down Expand Up @@ -91,4 +98,4 @@ jobs:
if: ${{ failure() }}
uses: reviewdog/action-suggester@v1
with:
tool_name: code-style (indent, googlejavaformat)
tool_name: code-style (indent, googlejavaformat)

0 comments on commit 71382c5

Please sign in to comment.