File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,25 +3,25 @@ name: format
33on :
44 push :
55 branches : [main]
6+ paths-ignore :
7+ - " .github/**"
8+ - " **.md"
69
710jobs :
811 stylua :
912 runs-on : ubuntu-latest
1013 steps :
1114 - uses : actions/checkout@v2
1215 - name : Setup and run stylua
13- uses : JohnnyMorganz/stylua-action@1.0.0
16+ uses : JohnnyMorganz/stylua-action@v3
1417 with :
1518 token : ${{ secrets.GITHUB_TOKEN }}
1619 args : --config-path=stylua.toml .
17- - name : Commit files
18- run : |
19- git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
20- git config --local user.name "github-actions[bot]"
21- if [[ ! -z $(git status -s) ]]; then
22- git add lua/
23- git commit -m "Format source code"
24- fi
20+ - name : Commit changes
21+ uses : stefanzweifel/git-auto-commit-action@v4
22+ with :
23+ commit_message : " chore: autoformat with stylua"
24+ branch : ${{ github.ref }}
2525 - name : Push formatted files
2626 uses : ad-m/github-push-action@master
2727 with :
Original file line number Diff line number Diff line change 1+ name : Luarocks release
2+ on :
3+ push :
4+ tags :
5+ - " *"
6+
7+ jobs :
8+ luarocks-release :
9+ runs-on : ubuntu-latest
10+ name : Luarocks upload
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v3
14+ - name : Luarocks Upload
15+ uses : mrcjkb/luarocks-tag-release@master
16+ env :
17+ LUAROCKS_API_KEY : ${{ secrets.LUAROCKS_API_KEY }}
Original file line number Diff line number Diff line change 1- name : Luarocks release
1+ name : Release Please Automatic Semver
2+
23on :
34 push :
4- tags :
5- - " *"
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : write
10+ pull-requests : write
611
712jobs :
8- luarocks-release :
13+ release :
14+ name : release
915 runs-on : ubuntu-latest
10- name : Luarocks upload
1116 steps :
12- - name : Checkout
13- uses : actions/checkout@v3
14- - name : Luarocks Upload
15- uses : mrcjkb/luarocks-tag-release@master
16- env :
17- LUAROCKS_API_KEY : ${{ secrets.LUAROCKS_API_KEY }}
17+ - uses : google-github-actions/release-please-action@v3
18+ with :
19+ release-type : simple
20+ package-name : rest.nvim
Original file line number Diff line number Diff line change 1- name : default
1+ name : test
22
33on : [push, pull_request]
44
Original file line number Diff line number Diff line change 33# rest.nvim
44
55![ License] ( https://img.shields.io/github/license/NTBBloodbath/rest.nvim?style=for-the-badge )
6- ![ Neovim version] ( https://img.shields.io/badge/Neovim-0.5-57A143?style=for-the-badge&logo=neovim )
6+ ![ Neovim version] ( https://img.shields.io/badge/Neovim-0.5-5ba246?style=for-the-badge&logo=neovim )
7+ ![ Matrix] ( https://img.shields.io/matrix/rest.nvim%3Amatrix.org?server_fqdn=matrix.org&style=for-the-badge&logo=element&label=Matrix&color=55b394&link=https%3A%2F%2Fmatrix.to%2F%23%2F%23rest.nvim%3Amatrix.org )
78
89[ Features] ( #features ) • [ Install] ( #install ) • [ Usage] ( #usage ) • [ Contribute] ( #contribute )
910
Original file line number Diff line number Diff line change 1- column_width = 100
1+ column_width = 120
22line_endings = " Unix"
33indent_type = " Spaces"
44indent_width = 2
55quote_style = " AutoPreferDouble"
6+ call_parentheses = " Always"
You can’t perform that action at this time.
0 commit comments