DEPRECATED: Use https://github.com/moonrepo/setup-toolchain instead!
A GitHub action that sets up an environment for proto by...
Installing the proto
binary globally using the
official installation script, and appending the
installation directory to PATH
.
And also caching the toolchain ~/.proto
, keyed by hashing the .prototools
configuration file
found in the workspace root.
# ...
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: moonrepo/setup-proto@v1
- run: proto use
version
- Version of proto to explicitly install. Defaults to "latest".