Refactor handle_new to prompt for worktree name #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: push | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 10 | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| zsh-version: ['5.9'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| if [[ "${{ runner.os }}" == "macOS" ]]; then | |
| brew install zsh fzf | |
| else | |
| sudo apt-get update | |
| sudo apt-get install -y zsh fzf | |
| fi | |
| - name: Run tests | |
| run: | | |
| ./tests/run_tests.zsh |