fix: Manually run stylua, stylua-action is broken when trying to use on forgejo actions
All checks were successful
CI / Analyze (push) Successful in 17s
CI / Lint (push) Successful in 11s
CI / Styling (push) Successful in 13s

This commit is contained in:
marked 2024-11-11 20:08:42 +01:00
parent e3fbc88695
commit 4799707bc3

View file

@ -56,9 +56,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Check code style
uses: https://github.com/JohnnyMorganz/stylua-action@v4
# I cannot be assed to make the stylua action work, so I'll just install rokit and run stylua manually
- name: Install Rokit
uses: https://github.com/CompeyDev/setup-rokit@v0.1.2
with:
token: ${{ secrets.githubtoken }}
version: v0.20.0
args: --check src/
- name: Style
run: |
stylua --check src/