Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 796 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 796 Bytes

Setup and install the proto toolchain

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.

Installation

# ...
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

Inputs

  • version - Version of proto to explicitly install. Defaults to "latest".