This was pinned to 2.13.6 in https://github.com/PostgREST/postgrest/pull/2692#issuecomment-1448938894 because of a regression in nix 2.14. Latest is 2.16.x now, so maybe this bug is already fixed.
22 lines
531 B
YAML
22 lines
531 B
YAML
name: Setup Nix
|
|
|
|
description: Installs nix, sets up cachix and installs a subset of tooling.
|
|
|
|
inputs:
|
|
authToken:
|
|
description: Token to pass to cachix
|
|
tools:
|
|
description: Tools to install with nix-env -iA <tools>
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- uses: nixbuild/nix-quick-install-action@v26
|
|
- uses: cachix/cachix-action@v14
|
|
with:
|
|
name: postgrest
|
|
authToken: ${{ inputs.authToken }}
|
|
- if: ${{ inputs.tools }}
|
|
run: nix-env -f default.nix -iA ${{ inputs.tools }}
|
|
shell: bash
|