Skip to content

Commit ea2a59a

Browse files
committed
☕ Use same branch for denops.vim if possible
1 parent aeba85d commit ea2a59a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ jobs:
7575
git clone https://github.com/vim-denops/denops.vim /tmp/denops.vim
7676
echo "DENOPS_TEST_DENOPS_PATH=/tmp/denops.vim" >> "$GITHUB_ENV"
7777
78+
- name: Try switching denops branch
79+
run: |
80+
git -C /tmp/denops.vim switch ${{ github.head_ref || github.ref_name }} || true
81+
git -C /tmp/denops.vim branch
82+
7883
- uses: rhysd/action-setup-vim@v1
7984
id: vim
8085
with:

0 commit comments

Comments
 (0)