Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sagikazarmark/dagger-go-library

Go library example for Dagger
https://github.com/sagikazarmark/dagger-go-library

Last synced: 1 day ago
JSON representation

Go library example for Dagger

Awesome Lists containing this project

README

        

# Go library example for [Dagger](https://dagger.io/)

[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sagikazarmark/dagger-go-library/CI?style=flat-square)](https://github.com/sagikazarmark/dagger-go-library/actions?query=workflow%3ACI)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sagikazarmark/dagger-go-library/Dagger?style=flat-square)](https://github.com/sagikazarmark/dagger-go-library/actions?query=workflow%3ADagger)
[![Codecov](https://img.shields.io/codecov/c/github/sagikazarmark/dagger-go-library?style=flat-square)](https://codecov.io/gh/sagikazarmark/dagger-go-library)

This repository serves as an example for using [Dagger](https://dagger.io/) as a CI solution for a Go library.

It's also the model repository for my [Building a CI pipeline for a Go library with Dagger](https://sagikazarmark.hu/blog/dagger-go-library/) post (available on [dev.to](https://dev.to/sagikazarmark/building-a-ci-pipeline-for-a-go-library-with-dagger-2an7) 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).