> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# moul/build

## Commands

### install_golangci-lint

Install golangci-lint

| Parameter | Type | Default | Description |
|---|---|---|---|
| `version` | string | v1.23.6 |  |
| `sudo` | boolean | false |  |
| `insecure` | boolean | false |  |

### install_curl

Install curl (if missing)

### test

Internal: testing the orb.

| Parameter | Type | Default | Description |
|---|---|---|---|
| `sudo` | boolean | false |  |
| `insecure` | boolean | false |  |

### mod-download

Restore and update the Go module cache (adapted from gotest/tools)


| Parameter | Type | Default | Description |
|---|---|---|---|
| `prefix` | string | go-mod-v1 | Prefix for the cache key. |
| `path` | string | /go/pkg/mod | Path to the go module directory to store in the cache. |

## Jobs

### golang-build

| Parameter | Type | Default | Description |
|---|---|---|---|
| `tag` | string | 1.14 | See https://hub.docker.com/r/circleci/golang/tags |
| `checkout-path` | string | . |  |
| `no-install` | boolean | false | if true, won't run 'make install' |
| `cgo-enabled` | string | 1 |  |
| `go111module` | enum | on |  |
| `gopkg` | string |  | your go package, i.e. moul.io/build or github.com/moul/build |
| `prepare-build` | string |  | if set, this command will be run before running install and test commands |

### docker-build

| Parameter | Type | Default | Description |
|---|---|---|---|
| `image` | string | tmp |  |
| `checkout-path` | string | . |  |
| `tag` | string | 19.03.2-git | See https://hub.docker.com/_/docker?tab=tags |

### test-circleci-node

### test-circleci-golang-latest

### test-circleci-golang-114

### test-circleci-golang-113

### test-circleci-golang-112

### test-circleci-golang-111

### test-docker

### test-circleci-python

### test-alpine

## Executors

### golang

| Parameter | Type | Default | Description |
|---|---|---|---|
| `tag` | string | 1.14 | See https://hub.docker.com/r/circleci/golang/tags |
| `cgo-enabled` | string | 1 |  |
| `go111module` | enum | on |  |
| `gopkg` | string |  |  |

### docker

| Parameter | Type | Default | Description |
|---|---|---|---|
| `tag` | string | 18.06.3-ce-git | See https://hub.docker.com/_/docker?tab=tags |