-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REFACTOR-78: Set universal path to interpreter
- Loading branch information
1 parent
d19d861
commit 2ead0b5
Showing
4 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,14 +11,25 @@ jobs: | |
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: VHS Action | ||
uses: charmbracelet/[email protected] | ||
with: | ||
version: v0.8.0 | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
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: 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 | ||
# Following tasks are only required if you want to install vhs manually | ||
# - 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 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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,6 @@ Type "127.0.0.1" | |
Down | ||
Type "network host description" | ||
Ctrl+S | ||
Sleep 100ms | ||
Type "c" | ||
Type "q" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ Type "127.0.0.1" | |
Down | ||
Type "network host description" | ||
Ctrl+S | ||
Sleep 100ms | ||
Type "c" | ||
Type "d" | ||
Type "y" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters