{"repo":"swift-actions/setup-swift","free":true,"listed":false,"github":"https://github.com/swift-actions/setup-swift","clone":"git clone https://github.com/swift-actions/setup-swift.git","description":"GitHub Action that setup a Swift environment","language":"TypeScript","stars":318,"topics":["swift","github-actions","setup-swift","ci"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Setup Swift using Swiftly GitHub Action that will setup a Swift environment with a specific version using Swiftly. Works on both Ubuntu and macOS runners. [!IMPORTANT] Version 3 is currently in beta. Please report any issues you encounter. To use legacy version 2, use @v2 . Usage To run the action with the latest swift version available, simply add the action as a step in your workflow: After the environment is configured you can run swift commands using the standard run step: A specific Swift version can be set using the swift-version input: Also works with snapshots: Works perfect together with matrixes: Skip GPG signature verification If you are running on a runner that is not able to verify the GPG signature of the Swiftly package, you can skip the verification by setting the skip-verify-signature input to true . Caveats YAML interprets eg. 5.0 as a float, this action will then interpret that as 5 which will result in eg. Swift 5.5 being resolved. Quote your inputs! Thus: Not: Keeping the action up-to-date You have two options for keeping this action up-to-date: either you define a specific version (like v3.0.0 ) or use the major version tag (like v3 ). Specific version We recommend using the specific version tag together with Dependabot to keep the action up-to-date. That way you will automatically get notifed when the action updates and you can read the changelog directly in the PR opened by dependabot. Major version tag If you don't plan on keeping tabs on updates or d","default_branch":null,"files":null,"tree":[],"storefront":"/r/swift-actions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/swift-actions/setup-swift/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}