Organize dependencies in workflow

This commit is contained in:
Ilan Cosman 2020-07-14 07:47:15 -07:00
parent 4a0f5ba914
commit 8ffc1369a2
2 changed files with 6 additions and 5 deletions

View File

@ -16,14 +16,15 @@ jobs:
- name: Install dependencies
shell: bash
run: sudo apt-get install -y fish curl git
run: >
sudo apt-get install -y
fish git
curl
python3 python3-venv
- name: Install Tide unattended
run: source "$GITHUB_WORKSPACE/tools/tide_install.fish" && tide_install -lu "$GITHUB_WORKSPACE"
- name: Install testing dependencies
run: sudo apt-get install -y python3 python3-venv
- name: Install fisher and fishtape
run: tide test -i

View File

@ -8,7 +8,7 @@ function tide_test
if set -q _flag_install
# Install fisher and fishtape for testing
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
curl git.io/fisher --create-dirs -sLo $__fish_config_dir/functions/fisher.fish
fisher add jorgebucaran/fishtape
return