Skip to content

fabasoad/setup-groff-action

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

Setup groff (GNU roff)

Stand With Ukraine GitHub release functional-tests security linting

This action sets up groff (GNU roff).

Prerequisites

OS Supported Tools
Linux Yes None
macOS Yes brew or bash
Windows No N/A

Inputs

None

Example

Let's try to run hello-world.roff file using the workflow below.

name: Setup groff

on: push

jobs:
  setup:
    name: Setup
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: fabasoad/setup-groff-action@v1
      - run: groff -man -Tascii hello.roff

And you should see the following output:

HELLO(1)                    General Commands Manual                   HELLO(1)

NAME
       hello - print Hello, World!

SYNOPSIS
       hello

DESCRIPTION
       The hello command prints "Hello, World!" to the standard output.

EXAMPLES
       hello

       Hello, World!


Hello Manual                       June 2024                          HELLO(1)