mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 08:13:57 +01:00
3851c05aa9
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
39 lines
915 B
YAML
39 lines
915 B
YAML
name: Install
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
paths: .github/workflows/installer.yml
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
install:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-14]
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install zsh for ubuntu
|
|
if: matrix.os == 'ubuntu-latest'
|
|
run: |
|
|
sudo apt install zsh
|
|
|
|
- name: Test install script on bash
|
|
run: |
|
|
/bin/bash -c "$(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh)"
|
|
[ -d "$HOME/.atuin" ] && source $HOME/.atuin/bin/env
|
|
atuin --help
|
|
|
|
- name: Test install script on zsh
|
|
shell: zsh {0}
|
|
run: |
|
|
/bin/bash -c "$(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh)"
|
|
[ -d "$HOME/.atuin" ] && source $HOME/.atuin/bin/env
|
|
atuin --help
|