This step runs the go list ./...
command for you to list the go packages named by the import paths, starting from the current working directory.
It can return a filtered package list in line with the exclude patterns.
---
format_version: '8'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: other
workflows:
release:
steps:
- git-clone: {}
- go-list@0:
inputs:
- exclude: vendor/*
Parameter | Description | Required | Default |
---|---|---|---|
exclude | Exclude patterns | - | "/vendor/" |
Environment Variable | Description |
---|---|
BITRISE_GO_PACKAGES | List of go packages |
We welcome pull requests and issues against this repository.
For pull requests, work on your changes in a forked repository and use the bitrise cli to run your tests locally
Follow this guide if you would like to create your own step