2b7ce58d2f
* Add github action to check flake groups * Run on pull_requests and filter ~files~ *paths* * Use composite action to reuse setup steps * Use common setuo for frontend action * Fix path to action * Remove checkout action from common setup Checkout needed to fetch action * Provide secrets to action Co-authored-by: Rok Garbas <rok@garbas.si>
24 lines
552 B
YAML
24 lines
552 B
YAML
name: Setup Environment
|
|
inputs:
|
|
CACHIX_SIGNING_KEY: # determines what node version to install
|
|
required: true
|
|
description: 'Cachix Signing Key'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
|
|
- name: Installing Nix
|
|
uses: cachix/install-nix-action@v16
|
|
with:
|
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
|
|
|
- uses: cachix/cachix-action@v10
|
|
with:
|
|
name: nixos-search
|
|
signingKey: '${{ inputs.CACHIX_SIGNING_KEY }}'
|
|
|
|
- name: Installing jq
|
|
shell: bash
|
|
run: |
|
|
nix-env -f '<nixpkgs>' -iA jq
|