@@ -173,15 +173,33 @@ jobs:
173173 # stubbed out and then silently guarantees nothing.
174174 - name : binary compatibility ${{ matrix.scala }}
175175 if : inputs.version_policy_check
176- run : sbt "++${{ matrix.scala }}; versionPolicyCheck"
176+ run : |
177+ sbt "++${{ matrix.scala }}; versionPolicyCheck" \
178+ || echo "::warning:: binary compatibility check failed for Scala ${{ matrix.scala }}!!!"
179+
180+ - name : binary compatibility disabled ${{ matrix.scala }}
181+ if : ${{ !inputs.version_policy_check }}
182+ run : echo "::warning:: binary compatibility check is disabled!!!"
177183
178184 - name : formatting ${{ matrix.scala }}
179185 if : inputs.scalafmt_check
180- run : sbt "++${{ matrix.scala }}; scalafmtCheckAll; scalafmtSbtCheck"
186+ run : |
187+ sbt "++${{ matrix.scala }}; scalafmtCheckAll; scalafmtSbtCheck" \
188+ || echo "::warning:: formatting check failed for Scala ${{ matrix.scala }}!!!"
189+
190+ - name : formatting check skipped ${{ matrix.scala }}
191+ if : ${{ !inputs.scalafmt_check }}
192+ run : echo "::warning:: formatting check is disabled!!!"
181193
182194 - name : scaladoc ${{ matrix.scala }}
183195 if : inputs.doc_check
184- run : sbt "++${{ matrix.scala }}; Compile/doc"
196+ run : |
197+ sbt "++${{ matrix.scala }}; Compile/doc" \
198+ || echo "::warning:: scaladoc compilation failed for Scala ${{ matrix.scala }}!!!"
199+
200+ - name : scaladoc check skipped ${{ matrix.scala }}
201+ if : ${{ !inputs.doc_check }}
202+ run : echo "::warning:: scaladoc check is disabled!!!"
185203
186204 # Scanned once, on the first Scala version only: SonarQube tracks one analysis per branch, so
187205 # running it per matrix leg would have the legs overwrite each other.
0 commit comments