blob: 1532fc6f7df463f4a7fddb2246a136bc036d492b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
name: Stylua check
on:
push:
branches:
pull_request:
jobs:
stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Stylua check
uses: JohnnyMorganz/stylua-action@1.0.0
with:
# token is needed because the action allegedly downloads binary from github releases
token: ${{ secrets.GITHUB_TOKEN }}
# CLI arguments
args: --check .
|