astronvim_config/.gitea/workflows/stylua.yml

16 lines
446 B
YAML
Raw Normal View History

2023-10-04 08:30:25 +02:00
name: StyLua
on: [push, pull_request]
jobs:
StyLuacheck:
2023-10-04 08:36:40 +02:00
runs-on: ubuntu-full-latest
2023-10-04 08:30:25 +02:00
steps:
- name: Checkout
uses: actions/checkout@v3
- name: StyLua check
uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GH_TOKEN }}
version: v0.18.2 # NOTE: we recommend pinning to a specific version in case of formatting changes
# CLI arguments
args: --check .