1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-27 14:19:00 +01:00
presence.nvim/.github/workflows/stylua.yml
Jiří Štefka f14ae7ef52
fix(ci/cd): Move StyLua from action to cargo + command (#40)
* fix(ci/cd): Move StyLua from action to cargo + command
[#68] StyLUA check is not working for PRs from forks

https://openproject.stefka.eu/work_packages/68

* fix(formatting): fix bad formatting from #39
2024-04-08 12:28:57 +02:00

17 lines
372 B
YAML

name: StyLua
on: [push, pull_request]
jobs:
StyLuacheck:
runs-on: ubuntu-latest
steps:
- name: Install cargo-hack 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 .