fix attempt for form-data #102
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
--- | |
on: [push, pull_request] | |
name: lint-test | |
jobs: | |
stylua: | |
name: stylua | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: JohnnyMorganz/stylua-action@v3 | |
with: | |
version: latest | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --color always --check lua | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
nvim-versions: ['stable', 'nightly'] | |
name: test | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: ${{ matrix.nvim-versions }} | |
- name: Install Lua and LuaRocks | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y luarocks lua5.1 | |
- name: Install LuaSocket | |
run: | | |
sudo luarocks install luasocket | |
sudo luarocks install lua-zlib | |
- name: run tests | |
run: make test |