Skip to content

Format Waybar config #243

Format Waybar config

Format Waybar config #243

name: check-formatted
on: push
jobs:
check-formatted:
runs-on: ubuntu-latest
steps:
- uses: fish-actions/[email protected]
- uses: actions/checkout@v2
- name: Check fish code is formatted
run: fish_indent --check .config/fish/*/** .config/fish/*.fish
- uses: leafo/gh-actions-lua@v9
- uses: leafo/gh-actions-luarocks@v4
- name: Install lua-format
run: luarocks install --server=https://luarocks.org/dev luaformatter
- name: Check lua code is formatted
run: lua-format --check .config/nvim/lua/plugins.lua .config/nvim/init.lua
- name: Check json code
uses: sergeysova/jq-action@v2
with:
cmd: jq empty .config/waybar/config.jsonc