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 runs: using: composite steps: - uses: nixbuild/nix-quick-install-action@d02dd28b62bc5d22fdd0126895a4fbc8347ab665 # v27 - uses: cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be # v14 with: name: postgrest authToken: ${{ inputs.authToken }} - if: ${{ inputs.tools }} run: nix-env -f default.nix -iA ${{ inputs.tools }} shell: bash