-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CI and upgrade supported Vim version #34
Merged
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Neovim | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- macos-latest | ||
- windows-latest | ||
- ubuntu-latest | ||
version: | ||
- stable | ||
- v0.4.4 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: thinca/vim-themis | ||
path: vim-themis | ||
- uses: rhysd/action-setup-vim@v1 | ||
id: nvim | ||
with: | ||
neovim: true | ||
version: "${{ matrix.version }}" | ||
- name: Run tests | ||
env: | ||
THEMIS_VIM: ${{ steps.nvim.outputs.executable }} | ||
# XXX: | ||
# Overwrite %TMP% to point a correct temp directory. | ||
# Note that %TMP% only affects value of 'tempname()' in Windows. | ||
# https://gh.neting.ccmunity/t5/GitHub-Actions/TEMP-is-broken-on-Windows/m-p/30432#M427 | ||
TMP: 'C:\Users\runneradmin\AppData\Local\Temp' | ||
run: | | ||
./vim-themis/bin/themis |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Vim | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- macos-latest | ||
- windows-latest | ||
- ubuntu-latest | ||
version: | ||
- nightly | ||
- v8.2.5136 # https://github.com/lambdalisue/vim-fern/issues/506 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: thinca/vim-themis | ||
path: vim-themis | ||
- uses: rhysd/action-setup-vim@v1 | ||
id: vim | ||
with: | ||
version: "${{ matrix.version }}" | ||
- name: Run tests | ||
env: | ||
THEMIS_VIM: ${{ steps.vim.outputs.executable }} | ||
# XXX: | ||
# Overwrite %TMP% to point a correct temp directory. | ||
# Note that %TMP% only affects value of 'tempname()' in Windows. | ||
# https://gh.neting.ccmunity/t5/GitHub-Actions/TEMP-is-broken-on-Windows/m-p/30432#M427 | ||
TMP: 'C:\Users\runneradmin\AppData\Local\Temp' | ||
run: | | ||
./vim-themis/bin/themis | ||
This file contains 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Pin vim-themis to the latest stable version v1.7.0
The vim-themis repository has several stable releases available. Currently, the workflow fetches the latest commit without version pinning. To ensure consistent test results, update the checkout action to use tag v1.7.0:
🔗 Analysis chain
Consider pinning vim-themis version.
The vim-themis testing framework is being used without version pinning. This could lead to inconsistent test results if breaking changes are introduced.
Let me try another approach to check the repository directly since the GitHub CLI command didn't provide the expected information.
Let me check if there's a specific commit hash or tag being used in other repositories that use vim-themis, which could help us recommend a stable version.
Let me try one final check to see if vim-themis has any tags in its repository directly.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 489
Script:
Length of output: 1220
Script:
Length of output: 138
Script:
Length of output: 984