Skip to content

fix: fix completion for sh/bash/zsh #94

fix: fix completion for sh/bash/zsh

fix: fix completion for sh/bash/zsh #94

Workflow file for this run

on: [push]
name: build-linux_amd64
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: build
uses: actions-rs/cargo@v1
with:
command: build
- name: test
uses: actions-rs/cargo@v1
with:
command: test
- name: lint
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: e2e-test
run: |
sudo apt-get install zsh fish -y
echo "testing bash"
bash scripts/e2e-test.sh bash
echo "testing zsh"
zsh scripts/e2e-test.sh zsh
echo "testing fish"
fish scripts/e2e-test.fish fish
- name: build-release
if: startsWith(github.ref, 'refs/tags/')
run: |
cargo build --release
cp ./target/release/tome ./target/release/tome-linux_amd64
- name: release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./target/release/tome-linux_amd64
token: ${{ secrets.GITHUB_TOKEN }}
draft: true