John Ogle 7a3cc0c6f5 docs: Use full Gitea URL in usage examples
Short-form action references default to GitHub.
Full URL required for Gitea-to-Gitea action references.
2026-01-13 15:58:38 -08:00

gitea-actions

Reusable Gitea Actions for CI workflows.

Actions

nix-setup

Installs Nix and sets up Nix store caching for Gitea Actions workflows.

Features:

  • Uses DeterminateSystems/nix-installer-action for reliable Nix installation
  • Caches /nix/store, /nix/var/nix, and ~/.cache/nix
  • Cache key based on flake.lock hash for automatic invalidation
  • Each repo gets isolated cache (different flake.lock = different cache)

Usage:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: https://git.johnogle.info/johno/gitea-actions/nix-setup@main
      - run: nix flake check

Note: Full URL required for Gitea Actions to reference actions from the same instance (short-form defaults to GitHub).

With custom cache prefix:

- uses: https://git.johnogle.info/johno/gitea-actions/nix-setup@main
  with:
    cache-name: 'my-project-'

Inputs:

Input Description Required Default
cache-name Optional cache name prefix for disambiguation No ''
Description
Reusable Gitea Actions for CI workflows
Readme 28 KiB