An open API service indexing awesome lists of open source software.

https://github.com/capturecontext/swift-package-action

Set of predefined commands for multiplatform Swift packages
https://github.com/capturecontext/swift-package-action

actions ci ci-cd cicd github-actions infrastructure spm swift swiftpackagemanager swiftpm workflow

Last synced: about 1 month ago
JSON representation

Set of predefined commands for multiplatform Swift packages

Awesome Lists containing this project

README

          


swift-package-action logo


swift-package-action



Set of predefined commands for multiplatform Swift packages.


If you develop a bunch swift packages it may be tricky to keep CI clean and updated for all of them, but a dedicated action can reduce code duplication and simplify CI support. This repository was inspired by CI setup of The Composable Architecture.

## Getting started 🚀

#### Nested actions:

- [**build**](./build/README.md)
- [**format**](./format/README.md)
- [**cache**](./cache/README.md)

> [!IMPORTANT]
>
> _Root action is able to run some actions, but the API wasn't updated and results are not tested, consider using nested actions. Documentation is deleted, currently we're deciding if we should keep such an umbrella action for public `v3` release or to remove it_

### 📚 Workflow examples

- [`capturecontext/cocoa-aliases`](https://github.com/capturecontext/cocoa-aliases)
- [`capturecontext/swift-equated`](https://github.com/capturecontext/swift-equated)
- [`capturecontext/swift-hashed`](https://github.com/capturecontext/swift-hashed)
- [`capturecontext/swift-marker-protocols`](https://github.com/capturecontext/swift-marker-protocols)
- [`capturecontext/swift-keypaths-extensions`](https://github.com/capturecontext/swift-keypaths-extensions)
- [`capturecontext/swift-interception`](https://github.com/capturecontext/swift-interception)
- [`capturecontext/combine-interception`](https://github.com/capturecontext/combine-interception)
- [`capturecontext/combine-cocoa`](https://github.com/capturecontext/combine-cocoa)
- [`capturecontext/swift-declarative-configuration`](https://github.com/capturecontext/swift-declarative-configuration)
- [`capturecontext/swift-associated-objects`](https://github.com/capturecontext/swift-associated-objects)
- [`capturecontext/swift-foundation-extensions`](https://github.com/capturecontext/swift-foundation-extensions)

#### Outdated:

- [`swift-existential-container`](https://github.com/capturecontext/swift-existential-container/blob/main/.github/workflows/ci.yml)
- `swift-composable-architecture`
- **_[Original](https://github.com/pointfreeco/swift-composable-architecture/blob/main/.github/workflows/ci.yml)_**
- **_[SwiftPackageAction](https://github.com/capturecontext/swift-composable-architecture-ci-explorations/blob/main/.github/workflows/ci.yml)_**

## License 🪪

This action is released under the MIT license. See [LICENSE](LICENSE) for details.

See [ACKNOWLEDGEMENTS.md](ACKNOWLEDGEMENTS.md) for inspiration references and their licences.