-
-
Notifications
You must be signed in to change notification settings - Fork 29
32 lines (32 loc) · 837 Bytes
/
Copy pathstylua.yml
File metadata and controls
32 lines (32 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Stylua
on:
push:
paths:
- lua/wezterm/types/*.lua
- lua/wezterm/types/enum/*.lua
- lua/wezterm/types/events/*.lua
- lua/wezterm/types/objects/*.lua
- lua/wezterm/types/wezterm/*.lua
- .github/workflows/stylua.yml
pull_request:
types:
- opened
paths:
- lua/wezterm/types/*.lua
- lua/wezterm/types/enum/*.lua
- lua/wezterm/types/events/*.lua
- lua/wezterm/types/objects/*.lua
- lua/wezterm/types/wezterm/*.lua
- .github/workflows/stylua.yml
jobs:
stylua:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.3
- name: Run stylua
uses: JohnnyMorganz/stylua-action@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check lua