Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sagikazarmark/dagger-go-cli
https://github.com/sagikazarmark/dagger-go-cli
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/sagikazarmark/dagger-go-cli
- Owner: sagikazarmark
- License: mit
- Created: 2022-07-02T14:43:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-14T20:04:26.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T14:13:52.151Z (about 1 month ago)
- Language: CUE
- Size: 39.1 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go CLI example for [Dagger](https://dagger.io/)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sagikazarmark/dagger-go-cli/CI?style=flat-square)](https://github.com/sagikazarmark/dagger-go-cli/actions?query=workflow%3ACI)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sagikazarmark/dagger-go-cli/Dagger?style=flat-square)](https://github.com/sagikazarmark/dagger-go-cli/actions?query=workflow%3ADagger)
[![Codecov](https://img.shields.io/codecov/c/github/sagikazarmark/dagger-go-cli?style=flat-square)](https://codecov.io/gh/sagikazarmark/dagger-go-cli)This repository serves as an example for using [Dagger](https://dagger.io/) as a CI solution for a Go CLI tool.
It's also the model repository for my [Building a CI pipeline for a Go CLI application with Dagger](https://sagikazarmark.hu/blog/dagger-go-cli/) post (available on [dev.to](https://dev.to/sagikazarmark/building-a-ci-pipeline-for-a-go-cli-application-with-dagger-1ik5) as well).
## Setup
[Install Dagger](https://docs.dagger.io/install) (at least version 0.2.19).
Run tests and linters:
```shell
dagger do check
```## License
The project is licensed under the [MIT License](LICENSE).