Add a default enabled trait "FoundationURL" that can be disabled for
users who don't want Foundation dependencies. Also enable
`InternalImportsByDefault`.
Motivation:
Swift 6.0 is no longer supported, we should bump the tools version and
remove it from our CI.
Modifications:
* Bump the Swift tools version to Swift 6.1
* Remove Swift 6.0 jobs where appropriate in main.yml, pull_request.yml
Result:
Code reflects our support window.
---------
Co-authored-by: Guoye Zhang <guoye_zhang@apple.com>
Motivation:
To catch potential data races at build time.
Modifications:
- Enable strict concurrency in Package.swift.
- Update CI flags.
Result:
Strict concurrency adoption.
* Update swift tools version to 5.9
* Enable MemberImportVisibility check on all targets. Use a standard
string header and footer to bracket the new block for ease of updating
in the future with scripts.
# Motivation
We just adopted GH actions and want to make sure all the CI checks are green.
# Modification
This PR makes the necessary changes to pass all checks. Including:
- Adding a licenseignore file
- Moving `swift-format` and adopting the config that we use in all other swift on server repos.
# Result
Green CI.