This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
doc!: add archival notice #2009
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
name: default | |
on: | |
pull_request: | |
# Also build the default branch so cache is available to PRs. | |
push: | |
branches: [main] | |
jobs: | |
stylua: | |
name: Check codestyle | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: JohnnyMorganz/stylua-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --color always --check . | |
version: 15.1 | |
selene: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: NTBBloodbath/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --color always ./lua | |
version: 0.24.0 | |
test: | |
name: Run tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: null-ls.nvim | |
- uses: actions/checkout@v2 | |
with: | |
repository: nvim-lua/plenary.nvim | |
path: null-ls.nvim/.tests/site/pack/deps/start/plenary.nvim | |
- uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
- run: make test | |
working-directory: null-ls.nvim | |
timeout-minutes: 1 |