Add Swift 6.1 CI (#2221)
Motivation:
Swift 6.1 has been released, we should add it to our CI coverage.
Modifications:
- Add additional Swift 6.1 jobs where appropriate in main.yml,
pull_request.yml
- Add thresholds for Swift 6.1
Result:
Improved test coverage.