{"id":20571362,"url":"https://github.com/fluent-ci-templates/swift-pipeline","last_synced_at":"2026-04-20T15:03:39.820Z","repository":{"id":191049487,"uuid":"662314527","full_name":"fluent-ci-templates/swift-pipeline","owner":"fluent-ci-templates","description":"A ready-to-use CI/CD Pipeline for Swift projects.","archived":false,"fork":false,"pushed_at":"2024-06-18T20:57:27.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T21:14:16.399Z","etag":null,"topics":["deno","deno-module","devops","gitlab-ci","pipeline","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/fluent-ci-templates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-07-04T21:17:59.000Z","updated_at":"2024-06-18T20:56:32.000Z","dependencies_parsed_at":"2024-04-20T19:50:17.078Z","dependency_job_id":null,"html_url":"https://github.com/fluent-ci-templates/swift-pipeline","commit_stats":null,"previous_names":["fluent-ci-templates/swift-pipeline"],"tags_count":10,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fswift-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fswift-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fswift-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fswift-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent-ci-templates","download_url":"https://codeload.github.com/fluent-ci-templates/swift-pipeline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242187633,"owners_count":20086217,"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":["deno","deno-module","devops","gitlab-ci","pipeline","typescript"],"created_at":"2024-11-16T05:16:04.269Z","updated_at":"2026-04-20T15:03:34.795Z","avatar_url":"https://github.com/fluent-ci-templates.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Swift Pipeline\n\n[![fluentci pipeline](https://shield.fluentci.io/x/swift_pipeline)](https://pkg.fluentci.io/swift_pipeline)\n![deno compatibility](https://shield.deno.dev/deno/^1.42)\n[![dagger-min-version](https://shield.fluentci.io/dagger/v0.11.7)](https://dagger.io)\n[![](https://jsr.io/badges/@fluentci/swift)](https://jsr.io/@fluentci/swift)\n[![](https://img.shields.io/codecov/c/gh/fluent-ci-templates/swift-pipeline)](https://codecov.io/gh/fluent-ci-templates/swift-pipeline)\n[![ci](https://github.com/fluent-ci-templates/swift-pipeline/actions/workflows/ci.yml/badge.svg)](https://github.com/fluent-ci-templates/swift-pipeline/actions/workflows/ci.yml)\n\nA ready-to-use Pipeline for your [Swift](https://www.swift.org/) projects.\n\n## 🚀 Usage\n\nRun the following command in your project:\n\n```bash\nfluentci run swift_pipeline\n```\n\nOr, if you want to use it as a template:\n\n```bash\nfluentci init -t swift\n```\n\nThis will create a `.fluentci` folder in your project.\n\nNow you can run the pipeline with:\n\n```bash\nfluentci run .\n```\n\n## 🧩 Dagger Module\n\nUse as a [Dagger](https://dagger.io) module:\n\n```bash\ndagger install github.com/fluent-ci-templates/swift-pipeline@main\n```\n\nCall a function from the module:\n\n```bash\ndagger -m github.com/fluent-ci-templates/swift-pipeline@main call \\\n  test --src .\n\ndagger -m github.com/fluent-ci-templates/swift-pipeline@main call \\\n  build --src .\n```\n\n## 🛠️ Environment variables\n\n| Variable        | Description                                    |\n| --------------- | ---------------------------------------------- |\n| `SWIFT_VERSION` | The version of Swift to use. Defaults to `5.8` |\n\n## ✨ Jobs\n\n| Job       | Description   |\n| --------- | ------------- |\n| test      | Run tests     |\n| build     | Build project |\n\n```typescript\nbuild(\n  src: Directory | string | undefined = \".\"\n): Promise\u003cDirectory | string\u003e\ntest(\n  src: Directory | string | undefined = \".\"\n): Promise\u003cstring\u003e\n```\n\n## 👨‍💻 Programmatic usage\n\nYou can also use this pipeline programmatically:\n\n```ts\nimport { test, build } from \"jsr:@fluentci/swift\";\n\nawait test();\nawait build();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fswift-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent-ci-templates%2Fswift-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fswift-pipeline/lists"}