Update GitHub Actions to latest versions (#26022)
This pull request updates the following GitHub Actions to their latest
versions:
- `actions/checkout` to `v5`
- `actions/setup-python` to `v6`
- `actions/setup-node` to `v5`
- `actions/setup-java` to `v5`
- `actions/setup-dotnet` to `v5`
These updates were performed by a script that parsed all YAML workflow
files and updated the `uses` statements.