chore(lint): Lint/fmt all files and test against nvim nightly #590
This file contains hidden or 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: Run All Checks | |
| on: | |
| push: | |
| branches: [master, v3] | |
| pull_request: | |
| jobs: | |
| check-lua: | |
| name: Run Checks (${{ matrix.neovim-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| neovim-version: [ci, ci-nightly] | |
| fail-fast: false | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v27 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: Setup Cachix | |
| uses: cachix/cachix-action@v14 | |
| with: | |
| name: nix-community | |
| authToken: "" | |
| - name: Run lints | |
| run: nix develop .#${{ matrix.neovim-version }} --command just lint | |
| - name: Check types | |
| run: nix develop .#${{ matrix.neovim-version }} --command just typecheck | |
| - name: Run tests | |
| run: nix develop .#${{ matrix.neovim-version }} --command just test |