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 655aa1d9c7
Some checks failed
Luacheck / Luacheck (push) Failing after 22s
StyLua / StyLuacheck (push) Successful in 1m36s
Task/69 make workflow compatible with medium act images (#46)
* feat(ci/cd): Make workflows compatible with medium act images
for reference: https://nektosact.com/usage/runners.html

[69] Make workflow compatible with medium act images
https://openproject.stefka.eu/work_packages/69

* fix(ci/cd): use sudo to install cargo
2024-04-17 17:40:49 +02:00

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 .