1
0
Fork 0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-12-29 19:32:05 +01:00
presence.nvim/.github/workflows/stylua.yml
jiriks74 8117a074d5
All checks were successful
Luacheck / Luacheck (push) Successful in 11s
StyLua / StyLua (push) Successful in 14s
fix(ci): Use submodules for actions
I've moved to forgejo which uses https://code.forgejo.org/actions/ by
default
2024-12-12 17:09:31 +01:00

26 lines
623 B
YAML

name: StyLua
on: [push, pull_request]
jobs:
StyLua:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Update repositories
run: sudo apt update
- name: Install cargo
uses: ./.github/workflows/actions/cache-apt-pkgs-action
with:
packages: cargo libssh2-1
- name: Install StyLua from crates.io
uses: ./.github/workflows/actions/cargo-install
with:
crate: stylua
version: 0.20.0
- name: Check code formatting
run: stylua -c .