mirror of
https://github.com/chenasraf/text-transform.nvim.git
synced 2026-05-18 01:48:57 +00:00
build: develop workflow
This commit is contained in:
45
.github/workflows/develop.yml
vendored
Normal file
45
.github/workflows/develop.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [develop]
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
concurrency:
|
||||
group: github.head_ref
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
name: lint
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: JohnnyMorganz/stylua-action@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: latest
|
||||
args: --check .
|
||||
|
||||
documentation:
|
||||
runs-on: ubuntu-latest
|
||||
name: documentation
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: setup neovim
|
||||
uses: rhysd/action-setup-vim@v1
|
||||
with:
|
||||
neovim: true
|
||||
version: v0.8.3
|
||||
|
||||
- name: generate documentation
|
||||
run: make documentation-ci
|
||||
|
||||
- name: check docs diff
|
||||
run: exit $(git status --porcelain doc | wc -l | tr -d " ")
|
||||
|
||||
12
README.md
12
README.md
@@ -48,9 +48,9 @@ _[GIF version of the showcase video for mobile users](SHOWCASE_GIF_LINK)_
|
||||
|
||||
```lua
|
||||
-- stable version
|
||||
use {"text-transform.nvim", tag = "*" }
|
||||
use { "chenasraf/text-transform.nvim", tag = "*" }
|
||||
-- dev version
|
||||
use {"text-transform.nvim"}
|
||||
use { "chenasraf/text-transform.nvim" }
|
||||
```
|
||||
|
||||
</td>
|
||||
@@ -65,9 +65,9 @@ use {"text-transform.nvim"}
|
||||
|
||||
```lua
|
||||
-- stable version
|
||||
Plug "text-transform.nvim", { "tag": "*" }
|
||||
Plug "chenasraf/text-transform.nvim", { "tag": "*" }
|
||||
-- dev version
|
||||
Plug "text-transform.nvim"
|
||||
Plug "chenasraf/text-transform.nvim"
|
||||
```
|
||||
|
||||
</td>
|
||||
@@ -82,9 +82,9 @@ Plug "text-transform.nvim"
|
||||
|
||||
```lua
|
||||
-- stable version
|
||||
require("lazy").setup({{"text-transform.nvim", version = "*"}})
|
||||
require("lazy").setup({{ "chenasraf/text-transform.nvim", version = "*" }})
|
||||
-- dev version
|
||||
require("lazy").setup({"text-transform.nvim"})
|
||||
require("lazy").setup({ "chenasraf/text-transform.nvim" })
|
||||
```
|
||||
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user