mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 09:58:27 +00:00
21 lines
602 B
YAML
21 lines
602 B
YAML
|
name: 'Download dependencies'
|
||
|
description: 'Nixpkgs and poetry'
|
||
|
inputs:
|
||
|
full-deps:
|
||
|
description: 'Pass --arg fullDeps true to nix-shell?'
|
||
|
required: false
|
||
|
default: false
|
||
|
runs:
|
||
|
using: "composite"
|
||
|
steps:
|
||
|
- name: Install nix
|
||
|
uses: cachix/install-nix-action@v23
|
||
|
with:
|
||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||
|
- name: Dependencies nixpkgs
|
||
|
run: nix-shell --arg fullDeps "${{ inputs.full-deps }}" --run "true"
|
||
|
shell: sh
|
||
|
- name: Dependencies poetry
|
||
|
run: nix-shell --arg fullDeps "${{ inputs.full-deps }}" --run "poetry install"
|
||
|
shell: sh
|