1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 20:37:50 +01:00
presence.nvim/.github/workflows/stylua.yml

20 lines
455 B
YAML

name: StyLua
on: [push, pull_request]
jobs:
StyLuacheck:
runs-on: ubuntu-latest
steps:
- name: Install cargo
run: sudo apt update && sudo apt install -y cargo
- name: Install StyLua from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: stylua
version: 0.20.0
- name: Checkout
uses: actions/checkout@v3
- name: Check code formatting
run: stylua -c .