File tree Expand file tree Collapse file tree 1 file changed +20
-12
lines changed Expand file tree Collapse file tree 1 file changed +20
-12
lines changed Original file line number Diff line number Diff line change 24
24
workflow_dispatch :
25
25
26
26
jobs :
27
- build :
28
- runs-on : ubuntu-latest
27
+ vim-tests :
28
+ strategy :
29
+ matrix :
30
+ os :
31
+ - ubuntu-latest
32
+
33
+ vim :
34
+ - version : v9.1.0774
35
+ configure_args : --with-features=huge --enable-fail-if-missing --disable-nls
36
+
37
+ runs-on : ${{ matrix.os }}
38
+
39
+ env :
40
+ PATH : /home/runner/vim-${{ matrix.vim.version }}/bin:$PATH
41
+
29
42
steps :
30
43
- uses : actions/checkout@v2
31
44
with :
@@ -36,10 +49,10 @@ jobs:
36
49
with :
37
50
path : |
38
51
/tmp/vim
39
- /home/runner/vim-v9.1.0774
52
+ /home/runner/vim-${{ matrix.vim.version }}
40
53
/home/runner/.vim
41
54
/home/runner/vim
42
- key : ubuntu-latest_v9.1.0774
55
+ key : ${{ matrix.os }}_${{ matrix.vim.version }}
43
56
44
57
- uses : actions/setup-python@v5
45
58
with :
48
61
49
62
if : steps.cache-test-dependencies.outputs.cache-hit != 'true'
50
63
with :
51
- version : v9.1.0774
52
- configure-args : |
53
- --with-features=huge --enable-fail-if-missing --disable-nls
54
-
55
- - name : Update PATH with cached dependencies
56
- if : steps.cache-test-dependencies.outputs.cache-hit == 'true'
57
- run : |
58
- export PATH="/home/runner/vim-v9.1.0774/bin:$PATH"
64
+ version : ${{ matrix.vim.version }}
65
+ configure-args : ${{ matrix.vim.configure_args }}
59
66
60
67
- name : Install Vader
61
68
if : steps.cache-test-dependencies.outputs.cache-hit != 'true'
79
86
#
80
87
# - https://github.com/junegunn/vader.vim/?tab=readme-ov-file#github-actions
81
88
# - https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables
89
+ # - https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#matrix-context
You can’t perform that action at this time.
0 commit comments