{"id":13991820,"url":"https://github.com/YOCKOW/Action-setup-swift","last_synced_at":"2025-07-22T14:32:21.162Z","repository":{"id":36441903,"uuid":"209730839","full_name":"YOCKOW/Action-setup-swift","owner":"YOCKOW","description":"GitHub Action that sets up Swift.","archived":false,"fork":false,"pushed_at":"2024-06-20T03:01:21.000Z","size":10133,"stargazers_count":22,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-25T18:12:38.553Z","etag":null,"topics":["setup-swift","swift"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YOCKOW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-20T07:23:33.000Z","updated_at":"2024-07-03T02:42:28.000Z","dependencies_parsed_at":"2024-06-19T06:11:16.477Z","dependency_job_id":"7cc441c5-6181-40d9-a036-2ee8274118b3","html_url":"https://github.com/YOCKOW/Action-setup-swift","commit_stats":{"total_commits":146,"total_committers":3,"mean_commits":"48.666666666666664","dds":0.1095890410958904,"last_synced_commit":"338920c0f759f2c2078a170106ebee345a41451c"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YOCKOW%2FAction-setup-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YOCKOW%2FAction-setup-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YOCKOW%2FAction-setup-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YOCKOW%2FAction-setup-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YOCKOW","download_url":"https://codeload.github.com/YOCKOW/Action-setup-swift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227124011,"owners_count":17734240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["setup-swift","swift"],"created_at":"2024-08-09T14:01:36.888Z","updated_at":"2024-11-29T12:30:49.131Z","avatar_url":"https://github.com/YOCKOW.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Action: setup-swift\n\nThis action sets up a Swift environment using [swiftenv](https://github.com/kylef/swiftenv).\n\n\n# Usage\n\nSee [action.yml](action.yml)\n\n## Simple Workflow\n\n```yaml\nsteps:\n- uses: actions/checkout@v2\n- uses: YOCKOW/Action-setup-swift@v1\n  with:\n    swift-version: '5.3' # This value is passed to swiftenv without modification. \n- run: swift test\n```\n\n\n## Specify Swift Version with \".swift-version\" file.\n\n```yaml\nsteps:\n- uses: actions/checkout@v2\n- uses: YOCKOW/Action-setup-swift@v1\n  with:\n    swift-package-directory: \"./my-swift-package\" # Default is \".\"\n    # The content of \".swift-version\" will be used to specify the version\n    # when `swift-version` input is lacked.\n    # Error occurs if \".swift-version\" file is not found.\n- run: swift test\n```\n\n\n## Others\n\nYou can see another slightly complex sample at [the author's gist](https://gist.github.com/YOCKOW/352b3594bfcb2c06d953647adaf65e78).\n\n\n# License\nMIT License.  \nSee \"LICENSE.txt\" for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYOCKOW%2FAction-setup-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FYOCKOW%2FAction-setup-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYOCKOW%2FAction-setup-swift/lists"}