Skip to main content
Deno 2 is finally here 🎉️
Learn more

Go Pipeline

fluentci pipeline deno module deno compatibility

A ready-to-use CI/CD Pipeline for your Go projects.

🚀 Usage

Run the following command in your project:

dagger run fluentci go_pipeline

Or, if you want to use it as a template:

fluentci init -t go

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

dagger run fluentci .

Jobs

Job Description
fmt Format your code
test Run your tests
build Build your project

Programmatic usage

You can also use this pipeline programmatically:

import Client, { connect } from "https://sdk.fluentci.io/v0.1.7/mod.ts";
import { fmt, test, build } from "https://pkg.fluentci.io/go_pipeline@v0.5.0/mod.ts";

function pipeline(src = ".") {
  connect(async (client: Client) => {
    await fmt(client, src);
    await test(client, src);
    await build(client, src);
  });
}

pipeline();