Use `cancel-in-progress` instead of `styfle/cancel-workflow-action`.

Advantages:
- We don't need to grant write permissions to a third-party action (or even use it at all).
  - Not that I have any reason to think it's likely to be a problem, but strange things happen sometimes.
- One less action means one less thing for us to merge Dependabot updates for.
- The new approach can easily allow CI for merged trunk commits to continue even after other trunk commits are merged, while still stopping PR CI when new changes are pushed.
  - This is especially nice because cancellations (at least those from `styfle/cancel-workflow-action`, maybe in general) show up as _failures_. It's nice to be able to pick out _real_ failures (e.g., those fixed by cl/925609698 and cl/943404496) without sorting through cancellations.
- All else being equal, it's nice to have smaller, simpler configuration.

Assuming that this approach holds up, I'll replicate it to our other projects.

RELNOTES=n/a
PiperOrigin-RevId: 943469061
1 file changed
tree: 921e0b11a07160463f45ae5f70607d47a05d09aa
  1. .github/
  2. core/
  3. extensions/
  4. javadoc-link/
  5. refactorings/
  6. util/
  7. .gitignore
  8. CONTRIBUTING.md
  9. LICENSE
  10. overview.html
  11. pom.xml
  12. README.md
README.md

Main Site Build Status Maven Release Stackoverflow

What is Truth?

Truth makes your test assertions and failure messages more readable. Similar to AssertJ, it natively supports many JDK and Guava types, and it is extensible to others.

Truth is owned and maintained by the Guava team. It is used in the majority of the tests in Google’s own codebase.

Read more at the main website.