Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-reineke committed Oct 2, 2023
1 parent 58ee1b6 commit ca08675
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lua_language_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
include: ${{ fromJson(inputs.matrix) }}
rev: ${{ fromJson(inputs.matrix) }}
steps:
- uses: actions/checkout@v3
- run: date +%F > todays-date
Expand Down Expand Up @@ -50,4 +50,4 @@ jobs:
export PATH="${PWD}/_lua-ls/bin:${PATH}"
export VIM="${PWD}/_neovim/share/nvim/runtime"
nvim --version
make lua-language-server version=${{ matrix.ref == 'nightly' && 'nightly' || 'stable' }}
make lua-language-server version=${{ matrix.rev == 'nightly' && 'nightly' || 'stable' }}
8 changes: 2 additions & 6 deletions .github/workflows/nightly_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@ jobs:
uses: ./.github/workflows/tests.yml
with:
matrix: |
[
{"rev": "nightly/nvim-linux64.tar.gz"}
]
[ "nightly" ]
lua-language-server:
uses: ./.github/workflows/lua_language_server.yml
with:
matrix: |
[
{"type_version": "nightly", "rev": "nightly/nvim-linux64.tar.gz"}
]
[ "nightly" ]
10 changes: 2 additions & 8 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,13 @@ jobs:
uses: ./.github/workflows/tests.yml
with:
matrix: |
[
{"rev": "nightly"},
{"rev": "v0.9.2"}
]
[ "nightly", "v0.9.2" ]
lua-language-server:
uses: ./.github/workflows/lua_language_server.yml
with:
matrix: |
[
{"rev": "nightly"},
{"rev": "v0.9.2"}
]
[ "nightly", "v0.9.2" ]
stylua:
name: stylua
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
include: ${{ fromJson(inputs.matrix) }}
rev: ${{ fromJson(inputs.matrix) }}
steps:
- uses: actions/checkout@v3
- run: date +%F > todays-date
Expand Down

0 comments on commit ca08675

Please sign in to comment.