Skip to content

Commit

Permalink
ci: check style of Vim scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mnacamura committed Feb 6, 2024
1 parent 14e6ae2 commit a49cac9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Run linter
run: |
nix develop --command bash -c "./build.fnl lint"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# vim-fennel-syntax

![Vim][script-badge]
[![CI][ci-badge]][ci-jobs]

Yet another Vim syntax highlighting plugin for [Fennel][1].

Expand Down Expand Up @@ -120,6 +121,8 @@ Override it by defining buffer local `b:fennel_use_lume`.
<!-- panvimdoc-ignore-end -->

[script-badge]: https://img.shields.io/badge/Made%20with%20Vimscript-019733.svg?logo=vim&style=flat-square
[ci-badge]: https://img.shields.io/github/actions/workflow/status/mnacamura/vim-fennel-syntax/ci.yml?logo=github&label=CI&style=flat-square
[ci-jobs]: https://github.com/mnacamura/vim-fennel-syntax/actions/workflows/ci.yml
[1]: https://fennel-lang.org/
[2]: https://github.com/bakpakin/fennel.vim/
[3]: https://github.com/savq/paq-nvim/
Expand Down

0 comments on commit a49cac9

Please sign in to comment.