-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add rockspec + luarocks release workflow
- Loading branch information
Showing
5 changed files
with
84 additions
and
19 deletions.
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,31 @@ | ||
name: "Release" | ||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
luarocks-release: | ||
runs-on: ubuntu-latest | ||
name: LuaRocks upload | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: LuaRocks Upload | ||
uses: nvim-neorocks/luarocks-tag-release@v3 | ||
env: | ||
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} | ||
with: | ||
dependencies: | | ||
neotest | ||
detailed_description: | | ||
* Supports Cabal projects. | ||
* Supports Stack projects. | ||
* Parses Hspec `--match` filters for the cursor's position using TreeSitter. | ||
* Parses Hspec test results and displays error messages as virtual text. | ||
- name: GitHub Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
bodyFile: "CHANGELOG.md" | ||
allowUpdates: true | ||
|
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,30 @@ | ||
local MODREV, SPECREV = 'scm', '-1' | ||
rockspec_format = '3.0' | ||
package = 'neotest-haskell' | ||
version = MODREV .. SPECREV | ||
|
||
description = { | ||
summary = 'A neotest adapter for Haskell', | ||
detailed = [[ | ||
* Supports Cabal v2 projects. | ||
* Supports Stack projects. | ||
* Parses Hspec `--match` filters for the cursor's position using TreeSitter. | ||
* Parses Hspec test results and displays error messages as virtual text. | ||
]], | ||
labels = { 'neovim', 'haskell', 'plugin', 'neotest', 'test' }, | ||
homepage = 'https://github.com/mrcjkb/neotest-haskell', | ||
license = 'GPL-2.0', | ||
} | ||
|
||
dependencies = { | ||
'lua >= 5.1', | ||
'neotest', | ||
} | ||
|
||
source = { | ||
url = 'git://github.com/mrcjkb/neotest-haskell', | ||
} | ||
|
||
build = { | ||
type = 'builtin', | ||
} |