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

Go Pipeline

fluentci pipeline deno module deno compatibility ci

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

🚀 Usage

Run the following command in your project:

fluentci run 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:

fluentci run .

🧩 Dagger Module

Use as a Dagger module:

dagger install github.com/fluent-ci-templates/go-pipeline@mod

Call a function from the module:

dagger call test --src .
dagger call build --src .

✨ Jobs

Job Description
fmt Format your code
test Run your tests
build Build your project
build(
  src?: Directory | string = "."
): Promise<Directory | string>

fmt(
  src?: Directory | string  = "."
): Promise<Directory | string>

test(src?:  Directory | string = "."): Promise<string>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { fmt, test, build } from "jsr:@fluentci/go";

await fmt();
await test();
await build();