Setup Swift environment
ActionsThis action sets up a swift environment using swiftenv for use in actions by:
- optionally downloading a version of swift from swift.org.
- supports macOS, Linux runner.
See action.yml
Basic:
steps:
- uses: actions/checkout@v2
- uses: sinoru/actions-setup-swift@v2
with:
swift-version: '5.3.3' # Exact version of a Swift version to use
- run: swift build -v
- run: swift test -v
The scripts and documentation in this project are released under the MIT License
Setup Swift environment is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.