Skip to content

Fix bash completion bugs #889

Fix bash completion bugs

Fix bash completion bugs #889

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Print build information
run: "echo head_ref: ${{ github.head_ref }}, ref: ${{ github.ref }}, os: ${{ matrix.os }}"
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: "go.mod"
check-latest: true
- name: Test
env:
CGO_ENABLED: 0
run: go test ./...
test-shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
ignore_paths: .devcontainer
test-install:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
shell: bash
install-approach:
- os: ubuntu-latest
shell: sh
install-approach:
- os: ubuntu-latest
shell: zsh
install-approach: sudo apt update && sudo apt install -y zsh
- os: ubuntu-latest
shell: fish
install-approach: sudo apt update && sudo apt install -y fish
- os: macos-latest
shell: bash
install-approach:
- os: macos-latest
shell: sh
install-approach:
- os: macos-latest
shell: zsh
install-approach: brew update && brew install zsh
- os: macos-latest
shell: fish
install-approach: brew update && brew install fish
runs-on: ${{ matrix.os }}
steps:
- name: Print build information
run: "echo head_ref: ${{ github.head_ref }}, ref: ${{ github.ref }}"
- uses: actions/checkout@v3
- name: Ensure shell ${{ matrix.shell }} in ${{ matrix.os }}
run: |
echo ${{ matrix.install-approach }}
${{ matrix.install-approach }}
- name: "Run Install Script"
run: sh -c '${{ matrix.shell }} -c "./install.sh"'