fix: Manually run stylua, stylua-action is broken when trying to use on forgejo actions
This commit is contained in:
parent
e3fbc88695
commit
4799707bc3
1 changed files with 7 additions and 4 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue