-
Notifications
You must be signed in to change notification settings - Fork 317
refactor: improve readability #28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: stylua
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
style:
runs-on: ubuntu-22.04
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: JohnnyMorganz/stylua-action@479972f01e665acfcba96ada452c36608bdbbb5e # v4.1.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check .
version: "0.20.0"