diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 9de2333..a36aab6 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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/