An open API service indexing awesome lists of open source software.

https://github.com/gacts/install-geth-tools

🚀 Installs Geth (Go Ethereum) and tools (abigen, bootnode, clef, evm, rlpdump) into your actions workflow
https://github.com/gacts/install-geth-tools

abigen actions bootnode clef ethereum evm geth github-actions puppeth rlpdump

Last synced: 3 months ago
JSON representation

🚀 Installs Geth (Go Ethereum) and tools (abigen, bootnode, clef, evm, rlpdump) into your actions workflow

Awesome Lists containing this project

README

        


Logo

# Install [Geth][geth] Action

![Release version][badge_release_version]
[![Build Status][badge_build]][link_build]
[![License][badge_license]][link_license]

This action installs [Geth][geth] and its tools (`abigen`, `bootnode`, `clef`, `evm`, `rlpdump`) into your workflow. It
can be run on **Linux** (`ubuntu-latest`), **macOS** (`macos-latest`), or **Windows** (`windows-latest`).

- 🚀 Geth downloads page:

Additionally, this action uses the GitHub **caching mechanism** to speed up your workflow execution time!

## Usage

```yaml
jobs:
install-geth-tools:
runs-on: ubuntu-latest # or macos-latest, windows-latest
steps:
- uses: gacts/install-geth-tools@v1
#with:
# version: 1.10.19 # `latest` by default, but you can set a specific version to install, e.g.: `1.10.19`

- run: geth version
- run: abigen --version
- run: bootnode -h
- run: clef --version
- run: evm --version
- run: rlpdump -h
```

## Customizing

### Inputs

The following inputs can be used as `step.with` keys:

| Name | Type | Default | Required | Description |
|----------------|:--------:|:---------------------:|:--------:|----------------------------------------------------------------------|
| `version` | `string` | `latest` | no | Version to install |
| `github-token` | `string` | `${{ github.token }}` | no | GitHub token (for requesting the latest version info & release hash) |

## Releasing

To release a new version:

- Build the action distribution (`make build` or `npm run build`).
- Commit and push changes (including `dist` directory changes - this is important) to the `master|main` branch.
- Publish the new release using the repo releases page (the git tag should follow the `vX.Y.Z` format).

Major and minor git tags (`v1` and `v1.2` if you publish a `v1.2.Z` release) will be updated automatically.

> [!TIP]
> Use [Dependabot](https://bit.ly/45zwLL1) to keep this action updated in your repository.

## Support

[![Issues][badge_issues]][link_issues]
[![Pull Requests][badge_pulls]][link_pulls]

If you find any errors in the action, please [create an issue][link_create_issue] in this repository.

## License

This is open-source software licensed under the [MIT License][link_license].

[badge_build]:https://img.shields.io/github/actions/workflow/status/gacts/install-geth-tools/tests.yml?branch=master&maxAge=30
[badge_release_version]:https://img.shields.io/github/release/gacts/install-geth-tools.svg?maxAge=30
[badge_license]:https://img.shields.io/github/license/gacts/install-geth-tools.svg?longCache=true
[badge_release_date]:https://img.shields.io/github/release-date/gacts/install-geth-tools.svg?maxAge=180
[badge_commits_since_release]:https://img.shields.io/github/commits-since/gacts/install-geth-tools/latest.svg?maxAge=45
[badge_issues]:https://img.shields.io/github/issues/gacts/install-geth-tools.svg?maxAge=45
[badge_pulls]:https://img.shields.io/github/issues-pr/gacts/install-geth-tools.svg?maxAge=45

[link_build]:https://github.com/gacts/install-geth-tools/actions
[link_license]:https://github.com/gacts/install-geth-tools/blob/master/LICENSE
[link_issues]:https://github.com/gacts/install-geth-tools/issues
[link_create_issue]:https://github.com/gacts/install-geth-tools/issues/new
[link_pulls]:https://github.com/gacts/install-geth-tools/pulls

[geth]:https://geth.ethereum.org/