File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7777 - name : spotless
7878 run : ./gradlew spotlessApply
7979
80- - name : Check for diff
80+ - name : Check that semconv generation is up to date
8181 run : |
8282 # need to "git add" in case any generated files did not already exist
8383 # select files from both /semconv and /semconv-incubating
9292 exit 1
9393 fi
9494
95+ - name : Check that API diffs are up to date
96+ run : |
97+ # need to "git add" in case any generated files did not already exist
98+ git add docs/apidiffs/
99+ if git diff --cached --quiet
100+ then
101+ echo "No diff detected in apidiffs."
102+ else
103+ echo "Diff detected in apidiffs - did you run './gradlew jApiCmp'?"
104+ echo $(git diff --cached --name-only)
105+ echo $(git diff --cached)
106+ exit 1
107+ fi
108+
95109 misspell-check :
96110 uses : ./.github/workflows/reusable-misspell-check.yml
You can’t perform that action at this time.
0 commit comments