steps-go-list

command module
v0.0.0-...-c79878f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 6 Imported by: 0

README

Go list Bitrise Build Status Bitrise Step Version GitHub License Bitrise Community

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.

Examples

List packages in the working directory excluding vendor/*
---
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/*

Configuration

Inputs
Parameter Description Required Default
exclude Exclude patterns - "/vendor/"
Outputs
Environment Variable Description
BITRISE_GO_PACKAGES List of go packages

Contributing

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

Creating your own steps

Follow this guide if you would like to create your own step

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL