diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml new file mode 100644 index 00000000000..c9ac29ec638 --- /dev/null +++ b/.github/workflows/installer.yml @@ -0,0 +1,30 @@ +name: Install + +on: + push: + branches: [main] + pull_request: + branches: [main] + +env: + CARGO_TERM_COLOR: always + +jobs: + install: + strategy: + matrix: + os: [ubuntu-latest, macos-14] + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v3 + + - name: Test install script on bash + run: | + bash -c 'bash ./install.sh' + bash -c 'atuin --help' + + - name: Test install script on zsh + run: | + zsh -c 'bash ./install.sh' + zsh -c 'atuin --help'