Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

huff-language/huff-toolchain

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Huff Toolchain

GitHub Action that installs huffc.

Example workflow

on: [push]

name: test

jobs:
  check:
    name: Huff project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          submodules: recursive

      - name: Install Huff
        uses: huff-language/huff-toolchain@v3
        with:
          version: nightly

      - name: Compile
        run: huffc . -b

Inputs

Name Required Description Type
version Yes Version to install, e.g. nightly or 1.0.0. Note: Huff only has nightly builds for the time being. string

Summaries

You can add the output of huffc to GitHub step summaries. The summaries support GitHub flavored Markdown.

See the offical GitHub docs for more information.

Contributing

All contributions are welcome.

Make sure to install ncc in order to generate the build:

npm i -g @vercel/ncc

Acknowledgements