Skip to content
check-square

GitHub Action

Gotestsum installer

v2.0.0 Latest version

Gotestsum installer

check-square

Gotestsum installer

Install a specific version of gotestsum binary

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Gotestsum installer

uses: autero1/[email protected]

Learn more about this action in autero1/action-gotestsum

Choose a version

license release GitHub release date Test Action CodeFactor

Setup gotestsum GitHub Action

Set up your GitHub Actions workflow with a specific version of gotestsum.

Usage

The next example step will install gotestsum 0.4.1.

name: Example workflow

on: [push]

jobs:
  example:
    name: Example gotestsum interaction
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Setup gotestsum
        uses: autero1/action-gotestsum@v2
        with:
          gotestsum_version: 0.4.1
      - name: Interact with gotestsum
        run: gotestsum --format short-verbose

Inputs

Parameter Description Required
gotestsum_version gotestsum version to deploy true

Outputs

Parameter Description
gotestsum_path Cached tool path of gotestsum

Supported platforms

This action has been tested on the following platforms:

  • ubuntu-18.04
  • windows-latest
  • macos-latest

Contributing

Contributions to this repository are very welcome! We follow a fairly standard pull request process for contributions, subject to the following guidelines:

  1. File a GitHub issue
  2. Fork the repository
  3. Update the documentation
  4. Update the tests
  5. Update the code
  6. Create a pull request
  7. (Merge and release)

The maintainers for this repo will review your code and provide feedback. If everything looks good, they will merge the code and release a new version, which you'll be able to find in the releases page.

License

The scripts and documentation in this project are released under the MIT license.