https://github.com/autero1/action-gotestsum
GitHub Action for setting up https://github.com/gotestyourself/gotestsum
https://github.com/autero1/action-gotestsum
actions github-actions go testing testing-tools
Last synced: 9 months ago
JSON representation
GitHub Action for setting up https://github.com/gotestyourself/gotestsum
- Host: GitHub
- URL: https://github.com/autero1/action-gotestsum
- Owner: autero1
- License: mit
- Created: 2020-02-23T06:36:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-23T16:52:15.000Z (over 2 years ago)
- Last Synced: 2025-09-25T06:46:22.627Z (9 months ago)
- Topics: actions, github-actions, go, testing, testing-tools
- Language: TypeScript
- Size: 458 KB
- Stars: 6
- Watchers: 1
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://github.com/autero1/action-gotestsum/blob/master/LICENSE)
[](https://github.com/autero1/action-gotestsum/releases/latest)
[](https://github.com/autero1/action-gotestsum/releases)

[](https://www.codefactor.io/repository/github/autero1/action-gotestsum)
# Setup `gotestsum` GitHub Action
Set up your GitHub Actions workflow with a specific version of [`gotestsum`](https://github.com/gotestyourself/gotestsum).
## Usage
The next example step will install `gotestsum` 0.4.1.
```yaml
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](https://github.com/gotestyourself/gotestsum/releases) 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](
https://help.github.com/articles/about-pull-requests/) for contributions, subject to the following guidelines:
1. File a GitHub issue
1. Fork the repository
1. Update the documentation
1. Update the tests
1. Update the code
1. Create a pull request
1. (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](../../releases).
## License
The scripts and documentation in this project are released under the [MIT](./LICENSE) license.