mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-12-29 19:32:05 +01:00
Jiří Štefka
97985a95e4
* feat(docs): Add basic CONTIBUTING.md * fix(docs): Use better wording * feat(docs): Add Issue guidelines and ToC * fix(ci/cd): Rename StyLuacheck to be in line with CONTRIBUTING.md * fix(docs): Luacheck was LuaCheck * fix(docs): Streamline the documents * fix(docs): Formatting issues * fix(docs): Formating issues, duplicate header * fix(docs): Formating
23 lines
548 B
YAML
23 lines
548 B
YAML
name: StyLua
|
|
on: [push, pull_request]
|
|
jobs:
|
|
StyLua:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Update repositories
|
|
run: sudo apt update
|
|
- name: Install cargo
|
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
|
with:
|
|
packages: cargo
|
|
|
|
- name: Install StyLua from crates.io
|
|
uses: baptiste0928/cargo-install@v3
|
|
with:
|
|
crate: stylua
|
|
version: 0.20.0
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Check code formatting
|
|
run: stylua -c .
|