Skip to content

doc

doc #36

Workflow file for this run

name: VHS
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: shallow clone
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.0'
- name: build
run: |
cd example
go build
- uses: actions/upload-artifact@v4
with:
name: example
path: example/example
retention-days: 1
word:
runs-on: ubuntu-latest
container: ghcr.io/carapace-sh/carapace
needs: build
steps:
- name: shallow clone
uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: example
path: /usr/local/bin/
- run: chmod +x /usr/local/bin/example
- name: word
run: |
cd docs/src/development/vhs/word
ls *.tape | xargs -n1 vhs
nospace:
runs-on: ubuntu-latest
container: ghcr.io/carapace-sh/carapace
needs: build
steps:
- name: shallow clone
uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: example
path: /usr/local/bin/
- run: chmod +x /usr/local/bin/example
- name: nospace
run: |
cd docs/src/development/vhs/nospace
ls *.tape | xargs -n1 vhs