Skip to content
box

GitHub Action

Setup mockery

v0.1.7 Latest version

Setup mockery

box

Setup mockery

Setup mockery environment and add it to the PATH

Installation

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

              

- name: Setup mockery

uses: brokeyourbike/go-mockery-action@v0.1.7

Learn more about this action in brokeyourbike/go-mockery-action

Choose a version

go-mockery-action

Latest Stable Version Maintainability Test Coverage

Set up your GitHub Actions workflow with a specific version of mockery

Usage

See action.yml

Basic:

steps:
  - uses: actions/checkout@v3
  - uses: brokeyourbike/go-mockery-action@v0
    with:
      mockery-version: '2.9.4' # The mockery version to download and use.
  - run: mockery --all

Arguments

Input Description Usage
mockery-version mockery version to download and use *Required

Authors

License

The scripts and documentation in this project are released under the MPL-2.0