From 1c414d807e36af4520912c88f9b8ef93467dce38 Mon Sep 17 00:00:00 2001 From: Giuseppe Gadola <67549788+giusgad@users.noreply.github.com> Date: Sat, 28 Jan 2023 14:34:42 +0100 Subject: Initial commit --- .github/workflows/default.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/default.yml (limited to '.github/workflows/default.yml') diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml new file mode 100644 index 0000000..ec9986d --- /dev/null +++ b/.github/workflows/default.yml @@ -0,0 +1,32 @@ +--- +on: [push, pull_request] +name: default + +jobs: + stylua: + name: stylua + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: JohnnyMorganz/stylua-action@v1 + with: + 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: run tests + run: make test -- cgit v1.3-2-g11bf