Skip to content

setup-zeitgeist

Actions

About

Installs zeitgeist and includes it in your path
v0.0.3
Latest
Star (2)

setup-zeitgeist GitHub Action

Please use the one in https://github.com/kubernetes-sigs/release-actions/tree/main/setup-zeitgeist

This action enables you to install zeitgeist

Usage

This action currently supports GitHub-provided Linux, macOS and Windows runners (self-hosted runners may not work).

Add the following entry to your Github workflow YAML file:

uses: cpanato/setup-zeitgeist@main
with:
  zeitgeist-release: '0.4.1' # optional

Example using a pinned version:

jobs:
  test_zeitgeist_action:
    runs-on: ubuntu-latest

    permissions: {}

    name: Install zeitgeist and test presence in path
    steps:
      - name: Install zeitgeist
        uses: cpanato/setup-zeitgeist@main
        with:
          zeitgeist-release: '0.4.1' # optional
      - name: Check install!
        run: zeitgeist version

Example using the default version:

jobs:
  test_zeitgeist_action:
    runs-on: ubuntu-latest

    permissions: {}

    name: Install zeitgeist and test presence in path
    steps:
      - name: Install zeitgeist
        uses: cpanato/setup-zeitgeist@main
      - name: Check install!
        run: zeitgeist version

If you want to install zeitgeist from its main version by using 'go install' under the hood, you can set 'zeitgeist-release' as 'main'. Once you did that, zeitgeist will be installed via 'go install' which means that please ensure that go is installed.

Example of installing zeitgeist via go install:

jobs:
  test_zeitgeist_action:
    runs-on: ubuntu-latest

    permissions: {}

    name: Install zeitgeist via go install
    steps:
      - name: Install go
        uses: actions/setup-go@v3
        with:
          go-version: '1.20'
          check-latest: true
      - name: Install zeitgeist
        uses: cpanato/setup-zeitgeist@main
        with:
          zeitgeist-release: main
      - name: Check install!
        run: zeitgeist version

Optional Inputs

The following optional inputs:

Input Description
zeitgeist-release zeitgeist version to use instead of the default.
install-dir directory to place the zeitgeist binary into instead of the default ($HOME/.zeitgeist).
use-sudo set to true if install-dir location requires sudo privs. Defaults to false.

setup-zeitgeist is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Installs zeitgeist and includes it in your path
v0.0.3
Latest

setup-zeitgeist is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.