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
Jiří Štefka f989f7ed50
All checks were successful
Luacheck / Luacheck (push) Successful in 21s
StyLua / StyLuacheck (push) Successful in 17s
fix(ci/cd): Node.js 16 actions are deprecated (#50)
[71] Node.js 16 actions are deprecated

https://openproject.stefka.eu/work_packages/71
2024-04-17 19:17:02 +02:00

24 lines
553 B
YAML

name: StyLua
on: [push, pull_request]
jobs:
StyLuacheck:
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 .