{"id":17540062,"url":"https://github.com/yockow/action-setup-swift","last_synced_at":"2026-04-01T22:48:34.337Z","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":"2025-02-23T03:41:27.000Z","size":11660,"stargazers_count":23,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T16:17:13.522Z","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":"2025-03-01T18:08:00.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":32,"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":248914117,"owners_count":21182359,"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-10-20T22:08:01.357Z","updated_at":"2026-04-01T22:48:34.331Z","avatar_url":"https://github.com/YOCKOW.png","language":"JavaScript","funding_links":[],"categories":[],"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@v5\n- uses: YOCKOW/Action-setup-swift@v1\n  with:\n    swift-version: '6.2.1' # 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@v5\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"}