Skip to content

Commit

Permalink
REFACTOR-78: Set universal path to interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
grafviktor committed Oct 7, 2024
1 parent d19d861 commit 6612b86
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ jobs:
with:
go-version: 1.23
cache: true
- name: Setup Tools
run: sudo apt-get update && sudo apt-get install ffmpeg && go install github.com/charmbracelet/[email protected]
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install system packages
# run: sudo apt-get update && sudo apt-get install -y ffmpeg ttyd libnss3
run: sudo apt-get update && sudo apt-get install -y ffmpeg jq && sudo snap install ttyd --classic && go install github.com/charmbracelet/[email protected]
# - name: Install VHS utility
# run: go install github.com/charmbracelet/[email protected]
- name: Build Binary
run: go build -o gg ./cmd/goto/*.go
run: go build -o gg ./cmd/goto/*.go && cp gg /usr/local/bin && gg -v
- name: Run integration tests
run: e2e/run.sh
run: ./e2e/run.sh
4 changes: 3 additions & 1 deletion e2e/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
#!/usr/bin/env bash

set -x
set -e
cd $(dirname "$(readlink -f "$0")")

TMP_HOME=temp
HOSTS_FILE="${TMP_HOME}"/hosts.yaml
Expand Down

0 comments on commit 6612b86

Please sign in to comment.