v0.3.1
A ready-to-use CI/CD Pipeline for Go projects.
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
esm.sh
Go Pipeline
A ready-to-use CI/CD Pipeline for your Go projects.
🚀 Usage
Run the following command in your project:
dagger run fluentci go_pipelineOr, if you want to use it as a template:
fluentci init -t goThis 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://esm.sh/@dagger.io/dagger@0.8.1";
import { Dagger } from "https://deno.land/x/go_pipeline/mod.ts";
const { fmt, test, build } = Dagger;
function pipeline(src = ".") {
connect(async (client: Client) => {
await fmt(client, src);
await test(client, src);
await build(client, src);
});
}
pipeline();