setup-swift
setup-swift copied to clipboard
Gather Swift version from the `.swift-version` file
Is your feature request related to a problem? Please describe.
I have looked searched for automatic deduction of the required Swift version in the codebase but there is no such feature. For example: setup-node
GH Action has this feature built in - you can specify the node-version-file
in the config.
Describe the solution you'd like
I would like to see automatic deduction of the Swift version if there is a .swift-version
file in the root directory IF POSSIBLE. Otherwise it would be also good to have an option to specify the Swift version from a file, just like in the setup-node
package.
I might look into this when I have some spare time :)