From a015a6c4bc3c02e43f81bf71df4ef7fa69e427da Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Thu, 6 Jul 2023 16:38:10 +0300 Subject: [PATCH] chore(ci): some rewriting, and add test runner --- .github/workflows/ci.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1be903..b61cac7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,23 +2,26 @@ name: Format and lint on: [push, pull_request] jobs: - format: - name: stylua + lint: + name: lint and format runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: JohnnyMorganz/stylua-action@1.0.0 + - uses: actions/checkout@v3 + - uses: JohnnyMorganz/stylua-action@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - version: 0.14.0 args: --check . - - lint: - name: selene - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - uses: NTBBloodbath/selene-action@v1.0.0 with: token: ${{ secrets.GITHUB_TOKEN }} args: --display-style=quiet . + + tests: + name: tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: MunifTanjim/setup-neovim-action@v1 + + - name: Run tests + run: make test